summaryrefslogtreecommitdiffstats
path: root/git-config.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-03-09 14:19:31 -0800
committerJunio C Hamano <gitster@pobox.com>2022-03-09 14:19:31 -0800
commit7c37da749fa2c8d767b9ddfc2ed43986eb2f4d7c (patch)
tree217db038da87f53d7f6483aead1f09299d8a02e4 /git-config.html
parentc7a8d87b7ec3976798edbadec4c209e77b38c7c6 (diff)
downloadgit-htmldocs-7c37da749fa2c8d767b9ddfc2ed43986eb2f4d7c.tar.gz
Autogenerated HTML docs for v2.35.1-455-g1a487
Diffstat (limited to 'git-config.html')
-rw-r--r--git-config.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/git-config.html b/git-config.html
index a79eb8dcb..88e58677d 100644
--- a/git-config.html
+++ b/git-config.html
@@ -9562,6 +9562,36 @@ showBranch.default
</p>
</dd>
<dt class="hdlist1">
+sparse.expectFilesOutsideOfPatterns
+</dt>
+<dd>
+<p>
+ Typically with sparse checkouts, files not matching any
+ sparsity patterns are marked with a SKIP_WORKTREE bit in the
+ index and are missing from the working tree. Accordingly, Git
+ will ordinarily check whether files with the SKIP_WORKTREE bit
+ are in fact present in the working tree contrary to
+ expectations. If Git finds any, it marks those paths as
+ present by clearing the relevant SKIP_WORKTREE bits. This
+ option can be used to tell Git that such
+ present-despite-skipped files are expected and to stop
+ checking for them.
+</p>
+<div class="paragraph"><p>The default is <code>false</code>, which allows Git to automatically recover
+from the list of files in the index and working tree falling out of
+sync.</p></div>
+<div class="paragraph"><p>Set this to <code>true</code> if you are in a setup where some external factor
+relieves Git of the responsibility for maintaining the consistency
+between the presence of working tree files and sparsity patterns. For
+example, if you have a Git-aware virtual file system that has a robust
+mechanism for keeping the working tree and the sparsity patterns up to
+date based on access patterns.</p></div>
+<div class="paragraph"><p>Regardless of this setting, Git does not check for
+present-despite-skipped files unless sparse checkout is enabled, so
+this config option has no effect unless <code>core.sparseCheckout</code> is
+<code>true</code>.</p></div>
+</dd>
+<dt class="hdlist1">
splitIndex.maxPercentChange
</dt>
<dd>