@matheusbsbs / matheus-bagliano / commits / dec9230941
Fork 0

config: clarify compression defaults

* Clarify that core.compression provides a system-wide default to other compression parameters. * Explain that the default for pack.compression, -1, is "a default compromise between speed and compression (currently equivalent to level 6)" according to zlib.h. Signed-off-by: Brian Downing <bdowning@lavos.net> Acked-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brian Downing committed Nov 19, 2007 at 10:58 UTC dec92309417d17cc35196efd018f15981f22b235
1 file changed +5 -1
Documentation/config.txt
+5 -1
@@ -226,6 +226,8 @@ core.compression::
226 An integer -1..9, indicating a default compression level.
227 -1 is the zlib default. 0 means no compression,
228 and 1..9 are various speed/size tradeoffs, 9 being slowest.
229 + If set, this provides a default to other compression variables,
230 + such as 'core.loosecompression' and 'pack.compression'.
231
232 core.loosecompression::
233 An integer -1..9, indicating the compression level for objects that
@@ -622,7 +624,9 @@ pack.compression::
624 in a pack file. -1 is the zlib default. 0 means no
625 compression, and 1..9 are various speed/size tradeoffs, 9 being
626 slowest. If not set, defaults to core.compression. If that is
625 - not set, defaults to -1.
627 + not set, defaults to -1, the zlib default, which is "a default
628 + compromise between speed and compression (currently equivalent
629 + to level 6)."
630
631 pack.deltaCacheSize::
632 The maximum memory in bytes used for caching deltas in