summaryrefslogtreecommitdiffstats
path: root/git-grep.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-18 13:40:32 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-18 13:40:32 -0700
commit9766dd37e7d543874fe13ac730c68c032bf5b0e2 (patch)
tree844bd84b77950b2110822be95905887d14b5124f /git-grep.html
parentae2d874a965f920cc39147e22ad02afcf9c6be1b (diff)
downloadgit-htmldocs-9766dd37e7d543874fe13ac730c68c032bf5b0e2.tar.gz
Autogenerated HTML docs for v2.37.1-188-g71a8f
Diffstat (limited to 'git-grep.html')
-rw-r--r--git-grep.html18
1 files changed, 17 insertions, 1 deletions
diff --git a/git-grep.html b/git-grep.html
index 818a39e18..02e170084 100644
--- a/git-grep.html
+++ b/git-grep.html
@@ -763,6 +763,7 @@ git-grep(1) Manual Page
[--break] [--heading] [-p | --show-function]
[-A &lt;post-context&gt;] [-B &lt;pre-context&gt;] [-C &lt;context&gt;]
[-W | --function-context]
+ [(-m | --max-count) &lt;num&gt;]
[--threads &lt;num&gt;]
[-f &lt;file&gt;] [-e] &lt;pattern&gt;
[--and|--or|--not|(|)|-e &lt;pattern&gt;&#8230;]
@@ -1221,6 +1222,21 @@ providing this option will cause it to die.</p></div>
</p>
</dd>
<dt class="hdlist1">
+-m &lt;num&gt;
+</dt>
+<dt class="hdlist1">
+--max-count &lt;num&gt;
+</dt>
+<dd>
+<p>
+ Limit the amount of matches per file. When using the <code>-v</code> or
+ <code>--invert-match</code> option, the search stops after the specified
+ number of non-matches. A value of -1 will return unlimited
+ results (the default). A value of 0 will exit immediately with
+ a non-zero status.
+</p>
+</dd>
+<dt class="hdlist1">
--threads &lt;num&gt;
</dt>
<dd>
@@ -1469,7 +1485,7 @@ grep.fallbackToNoIndex
<div id="footer">
<div id="footer-text">
Last updated
- 2021-05-06 21:22:01 PDT
+ 2022-07-18 13:37:02 PDT
</div>
</div>
</body>