Browse Source
The feature.manyFiles setting is suitable for repos with many files in the working directory. By setting index.version=4 and core.untrackedCache=true, commands such as 'git status' should improve. While adding this setting, modify the index version precedence tests to check how this setting overrides the default for index.version is unset. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
Derrick Stolee
5 years ago
committed by
Junio C Hamano
6 changed files with 51 additions and 7 deletions
@ -0,0 +1,15 @@
@@ -0,0 +1,15 @@
|
||||
feature.*:: |
||||
The config settings that start with `feature.` modify the defaults of |
||||
a group of other config settings. These groups are created by the Git |
||||
developer community as recommended defaults and are subject to change. |
||||
In particular, new config options may be added with different defaults. |
||||
|
||||
feature.manyFiles:: |
||||
Enable config options that optimize for repos with many files in the |
||||
working directory. With many files, commands such as `git status` and |
||||
`git checkout` may be slow and these new defaults improve performance: |
||||
+ |
||||
* `index.version=4` enables path-prefix compression in the index. |
||||
+ |
||||
* `core.untrackedCache=true` enables the untracked cache. This setting assumes |
||||
that mtime is working on your machine. |
Loading…
Reference in new issue