from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210204

userrating:


May 25th. 2007:
Words

486

Views

259174

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150540

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





GIT-PACK-REDUNDANT

Section: Git Manual (1)
Updated: 202-0-01
Index Return to Main Contents
 

NAME

gi-pac-redundant - Find redundant pack files  

SYNOPSIS

git pack-redundant [--verbose] [--alt-odb] (--all | <pack-filename>...:)
 

WARNING

git pack-redundant has been deprecated and is scheduled for removal in a future version of Git. Because it can only remove entire duplicate packs and not individual duplicate objects, it is generally not a useful tool for reducing repository size. You are better off using git gc to do so, which will put objects into a new pack, removing duplicates.

Running pack-redundant without the --i-still-use-this flag will fail in this release. If you believe you have a use case for which pack-redundant is better suited and oppose this removal, please contact the Git mailing list at m[blue]git@vger.kernel.orgm[][1]. More information about the list is available at m[blue]https://git-scm.com/communitym[].  

DESCRIPTION

This program computes which packs in your repository are redundant. The output is suitable for piping to xargs rm if you are in the root of the repository.

git pack-redundant accepts a list of objects on standard input. Any objects given will be ignored when checking which packs are required. This makes the following command useful when wanting to remove packs which contain unreachable objects.

git fsck --full --unreachable | cut -d ' ' -f3 | git pack-redundant --all | xargs rm  

OPTIONS

--all

Processes all packs. Any filenames on the command line are ignored.

--alt-odb

Doncqt require objects present in packs from alternate object database (odb) directories to be present in local packs.

--verbose

Outputs some statistics to stderr. Has a small performance penalty.
 

SEE ALSO

gi-pac-objects(1) gi-repack(1) gi-prun-packed(1)  

GIT

Part of the git(1) suite  

NOTES

1.
git@vger.kernel.org
mailto:git@vger.kernel.org


 

Index

NAME
SYNOPSIS
WARNING
DESCRIPTION
OPTIONS
SEE ALSO
GIT
NOTES





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.3 ms