summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-03-29 16:32:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-03-29 16:32:51 (GMT)
commit9fadedd637b312089337d73c3ed8447e9f0aa775 (patch)
tree7c3c7fd874855d7bddd25a62495c8b921cc09274 /Documentation/config
parent3bab5d56259722843359702bc27111475437ad2a (diff)
parent2d657ab95fd5be5ebeee43fecec3d7cd94fdd2e4 (diff)
downloadgit-9fadedd637b312089337d73c3ed8447e9f0aa775.zip
git-9fadedd637b312089337d73c3ed8447e9f0aa775.tar.gz
git-9fadedd637b312089337d73c3ed8447e9f0aa775.tar.bz2
Merge branch 'ds/default-pack-use-sparse-to-true'
The 'pack.useSparse' configuration variable now defaults to 'true', enabling an optimization that has been experimental since Git 2.21. * ds/default-pack-use-sparse-to-true: pack-objects: flip the use of GIT_TEST_PACK_SPARSE config: set pack.useSparse=true by default
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/feature.txt3
-rw-r--r--Documentation/config/pack.txt4
2 files changed, 2 insertions, 5 deletions
diff --git a/Documentation/config/feature.txt b/Documentation/config/feature.txt
index 875f8c8..4e3a5c0 100644
--- a/Documentation/config/feature.txt
+++ b/Documentation/config/feature.txt
@@ -12,9 +12,6 @@ feature.experimental::
setting if you are interested in providing feedback on experimental
features. The new default values are:
+
-* `pack.useSparse=true` uses a new algorithm when constructing a pack-file
-which can improve `git push` performance in repos with many files.
-+
* `fetch.negotiationAlgorithm=skipping` may improve fetch negotiation times by
skipping more commits at a time, reducing the number of round trips.
+
diff --git a/Documentation/config/pack.txt b/Documentation/config/pack.txt
index 0dac580..837f1b1 100644
--- a/Documentation/config/pack.txt
+++ b/Documentation/config/pack.txt
@@ -119,8 +119,8 @@ pack.useSparse::
objects. This can have significant performance benefits when
computing a pack to send a small change. However, it is possible
that extra objects are added to the pack-file if the included
- commits contain certain types of direct renames. Default is `false`
- unless `feature.experimental` is enabled.
+ commits contain certain types of direct renames. Default is
+ `true`.
pack.writeBitmaps (deprecated)::
This is a deprecated synonym for `repack.writeBitmaps`.