summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2007-05-09 16:31:28 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-10 22:22:33 (GMT)
commitfa736f72b0840950e32dfd8bc470e91831107b10 (patch)
tree4c9b6c703164126897e92563ef69a614b3ec81bf /Documentation/git-pack-objects.txt
parent843142ada000a992fa87bd2dc7796501332a52d9 (diff)
downloadgit-fa736f72b0840950e32dfd8bc470e91831107b10.zip
git-fa736f72b0840950e32dfd8bc470e91831107b10.tar.gz
git-fa736f72b0840950e32dfd8bc470e91831107b10.tar.bz2
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>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r--Documentation/git-pack-objects.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index bd3ee45..ce89214 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -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