Skip to content

Commit 89d71f7

Browse files
jastgitster
authored andcommitted
Documentation: pack.compression: explain how to recompress
Add a small remark about how to recompress all existing objects after changing the compression level for pack files. Signed-off-by: Jan Krüger <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5c47e1c commit 89d71f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/config.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,10 @@ pack.compression::
14661466
not set, defaults to -1, the zlib default, which is "a default
14671467
compromise between speed and compression (currently equivalent
14681468
to level 6)."
1469+
+
1470+
Note that changing the compression level will not automatically recompress
1471+
all existing objects. You can force recompression by passing the -F option
1472+
to linkgit:git-repack[1].
14691473

14701474
pack.deltaCacheSize::
14711475
The maximum memory in bytes used for caching deltas in

0 commit comments

Comments
 (0)