The second batch
[alt-git.git] / Documentation / config / index.txt
blob3eff42036033ea90fb751b364a14ced17f5a25ad
1 index.recordEndOfIndexEntries::
2         Specifies whether the index file should include an "End Of Index
3         Entry" section. This reduces index load time on multiprocessor
4         machines but produces a message "ignoring EOIE extension" when
5         reading the index using Git versions before 2.20. Defaults to
6         'true' if index.threads has been explicitly enabled, 'false'
7         otherwise.
9 index.recordOffsetTable::
10         Specifies whether the index file should include an "Index Entry
11         Offset Table" section. This reduces index load time on
12         multiprocessor machines but produces a message "ignoring IEOT
13         extension" when reading the index using Git versions before 2.20.
14         Defaults to 'true' if index.threads has been explicitly enabled,
15         'false' otherwise.
17 index.sparse::
18         When enabled, write the index using sparse-directory entries. This
19         has no effect unless `core.sparseCheckout` and
20         `core.sparseCheckoutCone` are both enabled. Defaults to 'false'.
22 index.threads::
23         Specifies the number of threads to spawn when loading the index.
24         This is meant to reduce index load time on multiprocessor machines.
25         Specifying 0 or 'true' will cause Git to auto-detect the number of
26         CPUs and set the number of threads accordingly. Specifying 1 or
27         'false' will disable multithreading. Defaults to 'true'.
29 index.version::
30         Specify the version with which new index files should be
31         initialized.  This does not affect existing repositories.
32         If `feature.manyFiles` is enabled, then the default is 4.
34 index.skipHash::
35         When enabled, do not compute the trailing hash for the index file.
36         This accelerates Git commands that manipulate the index, such as
37         `git add`, `git commit`, or `git status`. Instead of storing the
38         checksum, write a trailing set of bytes with value zero, indicating
39         that the computation was skipped.
41 If you enable `index.skipHash`, then Git clients older than 2.13.0 will
42 refuse to parse the index and Git clients older than 2.40.0 will report an
43 error during `git fsck`.