Git fork
at reftables-rust 43 lines 2.0 kB view raw
1index.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. 8 9index.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. 16 17index.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'. 21 22index.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'. 28 29index.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. 33 34index.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. 40+ 41If you enable `index.skipHash`, then Git clients older than 2.13.0 will 42refuse to parse the index and Git clients older than 2.40.0 will report an 43error during `git fsck`.