]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/config/feature.txt
repo-settings: create feature.experimental setting
[thirdparty/git.git] / Documentation / config / feature.txt
CommitLineData
c6cc4c5a
DS
1feature.*::
2 The config settings that start with `feature.` modify the defaults of
3 a group of other config settings. These groups are created by the Git
4 developer community as recommended defaults and are subject to change.
5 In particular, new config options may be added with different defaults.
6
aaf633c2
DS
7feature.experimental::
8 Enable config options that are new to Git, and are being considered for
9 future defaults. Config settings included here may be added or removed
10 with each release, including minor version updates. These settings may
11 have unintended interactions since they are so new. Please enable this
12 setting if you are interested in providing feedback on experimental
13 features. The new default values are:
14+
15* `pack.useSparse=true` uses a new algorithm when constructing a pack-file
16which can improve `git push` performance in repos with many files.
17+
18* `fetch.negotiationAlgorithm=skipping` may improve fetch negotiation times by
19skipping more commits at a time, reducing the number of round trips.
20
c6cc4c5a
DS
21feature.manyFiles::
22 Enable config options that optimize for repos with many files in the
23 working directory. With many files, commands such as `git status` and
24 `git checkout` may be slow and these new defaults improve performance:
25+
26* `index.version=4` enables path-prefix compression in the index.
27+
28* `core.untrackedCache=true` enables the untracked cache. This setting assumes
29that mtime is working on your machine.