diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2021-03-30 13:10:59 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-03-30 12:57:47 -0700 |
commit | 58300f4743231724686d9ddf481aeefa4f90d2f7 (patch) | |
tree | 0a73a7f7312d021f7891107d27f2ac0161e62202 /Documentation/config | |
parent | sparse-index: check index conversion happens (diff) | |
download | tgif-58300f4743231724686d9ddf481aeefa4f90d2f7.tar.xz |
sparse-index: add index.sparse config option
When enabled, this config option signals that index writes should
attempt to use sparse-directory entries.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config')
-rw-r--r-- | Documentation/config/index.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/config/index.txt b/Documentation/config/index.txt index 7cb50b37e9..75f3a2d105 100644 --- a/Documentation/config/index.txt +++ b/Documentation/config/index.txt @@ -14,6 +14,11 @@ index.recordOffsetTable:: Defaults to 'true' if index.threads has been explicitly enabled, 'false' otherwise. +index.sparse:: + When enabled, write the index using sparse-directory entries. This + has no effect unless `core.sparseCheckout` and + `core.sparseCheckoutCone` are both enabled. Defaults to 'false'. + index.threads:: Specifies the number of threads to spawn when loading the index. This is meant to reduce index load time on multiprocessor machines. |