]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/pack-objects.c
allow for undeltified objects not to be reused
authorNicolas Pitre <nico@cam.org>
Wed, 9 May 2007 16:31:28 +0000 (12:31 -0400)
committerJunio C Hamano <junkio@cox.net>
Thu, 10 May 2007 22:22:33 +0000 (15:22 -0700)
commitfa736f72b0840950e32dfd8bc470e91831107b10
tree4c9b6c703164126897e92563ef69a614b3ec81bf
parent843142ada000a992fa87bd2dc7796501332a52d9
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>
Documentation/git-pack-objects.txt
builtin-pack-objects.c