allow for undeltified objects not to be reused

Currently non deltified object data is always reused when possible.
This means that any change to core.compression has no effect on those
objects as they don't get recompressed when repacking them.

Let's add a --no-reuse-object flag to git-repack in order to force
recompression of all objects when desired.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Nicolas Pitre
2007-05-09 12:31:28 -04:00
committed by Junio C Hamano
parent 843142ada0
commit fa736f72b0
2 changed files with 21 additions and 8 deletions

View File

@ -127,6 +127,13 @@ base-name::
This flag tells the command not to reuse existing deltas
but compute them from scratch.
--no-reuse-object::
This flag tells the command not to reuse existing object data at all,
including non deltified object, forcing recompression of everything.
This implies --no-reuse-delta. Useful only in the obscur case where
wholesale enforcement of a different compression level on the
packed data is desired.
--delta-base-offset::
A packed archive can express base object of a delta as
either 20-byte object name or as an offset in the