Skip to content

Commit 05cc2ff

Browse files
Nicolas Pitregitster
authored andcommitted
fix doc for --compression argument to pack-objects
Remove obsolete details (core.legacyheaders is always true now). Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent aba9119 commit 05cc2ff

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Documentation/git-pack-objects.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,8 @@ base-name::
155155
generated pack. If not specified, pack compression level is
156156
determined first by pack.compression, then by core.compression,
157157
and defaults to -1, the zlib default, if neither is set.
158-
Data copied from loose objects will be recompressed
159-
if core.legacyheaders was true when they were created or if
160-
the loose compression level (see core.loosecompression and
161-
core.compression) is now a different value than the pack
162-
compression level. Add --no-reuse-object if you want to force
163-
a uniform compression level on all data no matter the source.
158+
Add \--no-reuse-object if you want to force a uniform compression
159+
level on all data no matter the source.
164160

165161
--delta-base-offset::
166162
A packed archive can express base object of a delta as

0 commit comments

Comments
 (0)