Skip to content

Commit

Permalink
Documentation: pack.compression: explain how to recompress
Browse files Browse the repository at this point in the history
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 <jk@jk.gs>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jan Krüger authored and Junio C Hamano committed Sep 27, 2010
1 parent 5c47e1c commit 89d71f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,10 @@ pack.compression::
not set, defaults to -1, the zlib default, which is "a default
compromise between speed and compression (currently equivalent
to level 6)."
+
Note that changing the compression level will not automatically recompress
all existing objects. You can force recompression by passing the -F option
to linkgit:git-repack[1].

pack.deltaCacheSize::
The maximum memory in bytes used for caching deltas in
Expand Down

0 comments on commit 89d71f7

Please sign in to comment.