summaryrefslogtreecommitdiff
path: root/Documentation/git-pack-objects.txt
diff options
context:
space:
mode:
authorLibravatar Christian Walther <cwalther@gmx.ch>2021-02-21 13:23:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-22 13:18:30 -0800
commit3a837b58e33ee67f21a2ca737c6a12d74cee9e5e (patch)
treec960f19b03b5f35276beb8cb29b0562c575ab8d5 /Documentation/git-pack-objects.txt
parentMerge branch 'tb/ci-run-cocci-with-18.04' into maint (diff)
downloadtgif-3a837b58e33ee67f21a2ca737c6a12d74cee9e5e.tar.xz
doc: mention bigFileThreshold for packing
Knowing about the core.bigFileThreshold configuration variable is helpful when examining pack file size differences between repositories. Add a reference to it to the manpages a user is likely to read in this situation. Capitalize CONFIGURATION for consistency with other pages having such a section. Signed-off-by: Christian Walther <cwalther@gmx.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pack-objects.txt')
-rw-r--r--Documentation/git-pack-objects.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
index 54d715ead1..f85cb7ea93 100644
--- a/Documentation/git-pack-objects.txt
+++ b/Documentation/git-pack-objects.txt
@@ -400,6 +400,17 @@ Note that we pick a single island for each regex to go into, using "last
one wins" ordering (which allows repo-specific config to take precedence
over user-wide config, and so forth).
+
+CONFIGURATION
+-------------
+
+Various configuration variables affect packing, see
+linkgit:git-config[1] (search for "pack" and "delta").
+
+Notably, delta compression is not used on objects larger than the
+`core.bigFileThreshold` configuration variable and on files with the
+attribute `delta` set to false.
+
SEE ALSO
--------
linkgit:git-rev-list[1]