Make git-pack-redundant consider alt-odbs
This patch changes git-pack-redundant so that packfiles in alternate object directories also are considered when deciding which objects are redundant. This functionality is controlled by the flag '--alt-odb'. Also convert the other flags to the long form, and update docs and git-repack accordingly. Signed-off-by: Lukas Sandström <lukass@etek.chalmers.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
9bc0f32c77
commit
1c3039e8f1
@ -8,7 +8,7 @@ git-pack-redundant - Program used to find redundant pack files.
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
'git-pack-redundant [ -v ] < -a | .pack filename ... >'
|
||||
'git-pack-redundant [ --verbose ] [ --alt-odb ] < --all | .pack filename ... >'
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
@ -19,13 +19,16 @@ are redundant. The output is suitable for piping to
|
||||
OPTIONS
|
||||
-------
|
||||
|
||||
-v::
|
||||
Verbose. Outputs some statistics to stderr.
|
||||
Has a small performance penalty.
|
||||
|
||||
-a::
|
||||
All. Processes all the local packs. Any filenames on
|
||||
the commandline are ignored.
|
||||
--all::
|
||||
Processes all packs. Any filenames on the commandline are ignored.
|
||||
|
||||
--alt-odb::
|
||||
Don't require objects present in packs from alternate object
|
||||
directories to be present in local packs.
|
||||
|
||||
--verbose::
|
||||
Outputs some statistics to stderr. Has a small performance penalty.
|
||||
|
||||
Author
|
||||
------
|
||||
|
Reference in New Issue
Block a user