summaryrefslogtreecommitdiffstats
path: root/git-grep.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-10-19 05:58:48 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-10-19 05:58:48 +0000
commitfbe0052a6097e716bc4ad9676c3c4d6f472a1d8d (patch)
treea926e3dc0d853abf06ca1e0de4ae19340c8a5c72 /git-grep.html
parent21c0b42d4578867273ad6bc14fb225d61aa6f67e (diff)
downloadgit-htmldocs-fbe0052a6097e716bc4ad9676c3c4d6f472a1d8d.tar.gz
Autogenerated HTML docs for v1.4.3-g72bb
Diffstat (limited to 'git-grep.html')
-rw-r--r--git-grep.html23
1 files changed, 21 insertions, 2 deletions
diff --git a/git-grep.html b/git-grep.html
index 7157465a1..1074a2f8b 100644
--- a/git-grep.html
+++ b/git-grep.html
@@ -278,7 +278,7 @@ git-grep(1) Manual Page
[-v | --invert-match] [-h|-H] [--full-name]
[-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings]
[-n] [-l | --files-with-matches] [-L | --files-without-match]
- [-c | --count]
+ [-c | --count] [--all-match]
[-A &lt;post-context&gt;] [-B &lt;pre-context&gt;] [-C &lt;context&gt;]
[-f &lt;file&gt;] [-e] &lt;pattern&gt; [--and|--or|--not|(|)|-e &lt;pattern&gt;&#8230;]
[&lt;tree&gt;&#8230;]
@@ -436,6 +436,16 @@ registered in the index file, or given tree objects.</p>
</p>
</dd>
<dt>
+--all-match
+</dt>
+<dd>
+<p>
+ When giving multiple pattern expressions combined with <tt>--or</tt>,
+ this flag is specified to limit the match to files that
+ have lines to match all of them.
+</p>
+</dd>
+<dt>
<tt>&lt;tree&gt;&#8230;</tt>
</dt>
<dd>
@@ -466,6 +476,15 @@ git grep -e '#define' --and \( -e MAX_PATH -e PATH_MAX \)
<tt>PATH_MAX</tt>.
</p>
</dd>
+<dt>
+git grep --all-match -e NODE -e Unexpected
+</dt>
+<dd>
+<p>
+ Looks for a line that has <tt>NODE</tt> or <tt>Unexpected</tt> in
+ files that have lines that match both.
+</p>
+</dd>
</dl>
</div>
<h2>Author</h2>
@@ -483,7 +502,7 @@ revamped by Junio C Hamano.</p>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 03-Oct-2006 08:41:06 UTC
+Last updated 19-Oct-2006 05:58:40 UTC
</div>
</div>
</body>