summaryrefslogtreecommitdiffstats
path: root/git-config.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-01-16 13:19:04 -0800
committerJunio C Hamano <gitster@pobox.com>2023-01-16 13:19:04 -0800
commitd2309374057e387bf3b3f77ed51de90c6f1af162 (patch)
treea15f0f4e987a56b325efb7dc0ab40794bd0ee777 /git-config.html
parent7657f149df9d40ac2a9193b88f2e7f0b7c9dc532 (diff)
downloadgit-htmldocs-d2309374057e387bf3b3f77ed51de90c6f1af162.tar.gz
Autogenerated HTML docs for v2.39.0-227-g262c45
Diffstat (limited to 'git-config.html')
-rw-r--r--git-config.html25
1 files changed, 24 insertions, 1 deletions
diff --git a/git-config.html b/git-config.html
index 31b2bfb9a..f20daa6e4 100644
--- a/git-config.html
+++ b/git-config.html
@@ -5423,6 +5423,14 @@ feature.manyFiles
<div class="ulist"><ul>
<li>
<p>
+<code>index.skipHash=true</code> speeds up index writes by not computing a trailing
+ checksum. Note that this will cause Git versions earlier than 2.13.0 to
+ refuse to parse the index and Git versions earlier than 2.40.0 will report
+ a corrupted index during <code>git fsck</code>.
+</p>
+</li>
+<li>
+<p>
<code>index.version=4</code> enables path-prefix compression in the index.
</p>
</li>
@@ -7593,6 +7601,21 @@ index.version
</p>
</dd>
<dt class="hdlist1">
+index.skipHash
+</dt>
+<dd>
+<p>
+ When enabled, do not compute the trailing hash for the index file.
+ This accelerates Git commands that manipulate the index, such as
+ <code>git add</code>, <code>git commit</code>, or <code>git status</code>. Instead of storing the
+ checksum, write a trailing set of bytes with value zero, indicating
+ that the computation was skipped.
+</p>
+<div class="paragraph"><p>If you enable <code>index.skipHash</code>, then Git clients older than 2.13.0 will
+refuse to parse the index and Git clients older than 2.40.0 will report an
+error during <code>git fsck</code>.</p></div>
+</dd>
+<dt class="hdlist1">
init.templateDir
</dt>
<dd>
@@ -11570,7 +11593,7 @@ looks like</p></div>
<div id="footer">
<div id="footer-text">
Last updated
- 2022-07-23 07:56:51 JST
+ 2022-07-22 15:56:51 PDT
</div>
</div>
</body>