summaryrefslogtreecommitdiff
path: root/Documentation/config.txt
diff options
context:
space:
mode:
authorBrian Downing <bdowning@lavos.net>2007-11-19 16:58:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-20 08:14:12 (GMT)
commitdec92309417d17cc35196efd018f15981f22b235 (patch)
tree3c2dd6a94ac4e8675fbfcd2887a562541fa26476 /Documentation/config.txt
parentde1b24609b72920c618a689cfb620ede01640c8a (diff)
downloadgit-dec92309417d17cc35196efd018f15981f22b235.zip
git-dec92309417d17cc35196efd018f15981f22b235.tar.gz
git-dec92309417d17cc35196efd018f15981f22b235.tar.bz2
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>
Diffstat (limited to 'Documentation/config.txt')
-rw-r--r--Documentation/config.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 9565652..83bc33c 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -226,6 +226,8 @@ core.compression::
An integer -1..9, indicating a default compression level.
-1 is the zlib default. 0 means no compression,
and 1..9 are various speed/size tradeoffs, 9 being slowest.
+ If set, this provides a default to other compression variables,
+ such as 'core.loosecompression' and 'pack.compression'.
core.loosecompression::
An integer -1..9, indicating the compression level for objects that
@@ -622,7 +624,9 @@ pack.compression::
in a pack file. -1 is the zlib default. 0 means no
compression, and 1..9 are various speed/size tradeoffs, 9 being
slowest. If not set, defaults to core.compression. If that is
- not set, defaults to -1.
+ not set, defaults to -1, the zlib default, which is "a default
+ compromise between speed and compression (currently equivalent
+ to level 6)."
pack.deltaCacheSize::
The maximum memory in bytes used for caching deltas in