summaryrefslogtreecommitdiffstats
path: root/git-check-ignore.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-05-29 16:57:17 -0700
committerJunio C Hamano <gitster@pobox.com>2013-05-29 16:57:17 -0700
commitc710296399a86586e3a5e24ea8519ea2442ab7cf (patch)
treeeb0d0bf25b3098a12d15f4a2921f16ecaaa2756f /git-check-ignore.html
parentb6595471f5299e8b13181e09072b486dd0ad6261 (diff)
downloadgit-htmldocs-c710296399a86586e3a5e24ea8519ea2442ab7cf.tar.gz
Autogenerated HTML docs for v1.8.3-101-g727a4
Diffstat (limited to 'git-check-ignore.html')
-rw-r--r--git-check-ignore.html26
1 files changed, 25 insertions, 1 deletions
diff --git a/git-check-ignore.html b/git-check-ignore.html
index b91517962..8d8ef1aa0 100644
--- a/git-check-ignore.html
+++ b/git-check-ignore.html
@@ -802,6 +802,17 @@ ones.</p></div>
with a NUL character instead of a linefeed character.
</p>
</dd>
+<dt class="hdlist1">
+-n, --non-matching
+</dt>
+<dd>
+<p>
+ Show given paths which don&#8217;t match any pattern. This only
+ makes sense when <code>--verbose</code> is enabled, otherwise it would
+ not be possible to distinguish between paths which match a
+ pattern and those which don&#8217;t.
+</p>
+</dd>
</dl></div>
</div>
</div>
@@ -825,6 +836,19 @@ when referring to <code>.git/info/exclude</code> or a per-directory exclude file
null character; if <code>--verbose</code> is also specified then null characters
are also used instead of colons and hard tabs:</p></div>
<div class="paragraph"><p>&lt;source&gt; &lt;NULL&gt; &lt;linenum&gt; &lt;NULL&gt; &lt;pattern&gt; &lt;NULL&gt; &lt;pathname&gt; &lt;NULL&gt;</p></div>
+<div class="paragraph"><p>If <code>-n</code> or <code>--non-matching</code> are specified, non-matching pathnames will
+also be output, in which case all fields in each output record except
+for &lt;pathname&gt; will be empty. This can be useful when running
+non-interactively, so that files can be incrementally streamed to
+STDIN of a long-running check-ignore process, and for each of these
+files, STDOUT will indicate whether that file matched a pattern or
+not. (Without this option, it would be impossible to tell whether the
+absence of output for a given file meant that it didn&#8217;t match any
+pattern, or that the output hadn&#8217;t been generated yet.)</p></div>
+<div class="paragraph"><p>Buffering happens as documented under the <code>GIT_FLUSH</code> option in
+<a href="git.html">git(1)</a>. The caller is responsible for avoiding deadlocks
+caused by overfilling an input buffer or reading from an empty output
+buffer.</p></div>
</div>
</div>
<div class="sect1">
@@ -876,7 +900,7 @@ are also used instead of colons and hard tabs:</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-01-25 13:32:06 PST
+Last updated 2013-05-29 16:56:14 PDT
</div>
</div>
</body>