diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-13 14:26:40 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-13 14:26:40 -0800 |
commit | 371470a74a288fec266da71f914ff3ada119085f (patch) | |
tree | 10f6f6ea05630845788eb0307d2d2b8095f958a9 /git-status.html | |
parent | 912712bb106faf8773bffb94876a77a2986f0be0 (diff) | |
download | git-htmldocs-371470a74a288fec266da71f914ff3ada119085f.tar.gz |
Autogenerated HTML docs for v2.15.1-388-gd9a37
Diffstat (limited to 'git-status.html')
-rw-r--r-- | git-status.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/git-status.html b/git-status.html index f24528937..493d5a268 100644 --- a/git-status.html +++ b/git-status.html @@ -1255,6 +1255,20 @@ output but does not honor these settings.</p></div> </div>
</div>
<div class="sect1">
+<h2 id="_background_refresh">BACKGROUND REFRESH</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>By default, <code>git status</code> will automatically refresh the index, updating
+the cached stat information from the working tree and writing out the
+result. Writing out the updated index is an optimization that isn’t
+strictly necessary (<code>status</code> computes the values for itself, but writing
+them out is just to save subsequent programs from repeating our
+computation). When <code>status</code> is run in the background, the lock held
+during the write may conflict with other simultaneous processes, causing
+them to fail. Scripts running <code>status</code> in the background should consider
+using <code>git --no-optional-locks status</code> (see <a href="git.html">git(1)</a> for details).</p></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_see_also">SEE ALSO</h2>
<div class="sectionbody">
<div class="paragraph"><p><a href="gitignore.html">gitignore(5)</a></p></div>
@@ -1270,7 +1284,7 @@ output but does not honor these settings.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-11-15 14:56:49 JST
+Last updated 2017-12-13 14:26:19 PST
</div>
</div>
</body>
|