.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "GIT-PACK-REDUNDANT" 1 "" "" "" .SH NAME git-pack-redundant \- Program used to find redundant pack files. .SH "SYNOPSIS" git\-pack\-redundant [ \-\-verbose ] [ \-\-alt\-odb ] < \-\-all | \&.pack filename ... > .SH "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\-objects \-\-full \-\-unreachable | cut \-d \-f3 | git\-pack\-redundant \-\-all | xargs rm .SH "OPTIONS" .TP \-\-all Processes all packs\&. Any filenames on the commandline are ignored\&. .TP \-\-alt\-odb Don't require objects present in packs from alternate object directories to be present in local packs\&. .TP \-\-verbose Outputs some statistics to stderr\&. Has a small performance penalty\&. .SH "AUTHOR" Written by Lukas Sandström .SH "DOCUMENTATION" Documentation by Lukas Sandström .SH "SEE-ALSO" \fBgit\-pack\-objects\fR(1) \fBgit\-repack\fR(1) \fBgit\-prune\-packed\fR(1) .SH "GIT" Part of the \fBgit\fR(7) suite