diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-07-18 13:40:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-18 13:40:32 -0700 |
commit | 9766dd37e7d543874fe13ac730c68c032bf5b0e2 (patch) | |
tree | 844bd84b77950b2110822be95905887d14b5124f /git-grep.txt | |
parent | ae2d874a965f920cc39147e22ad02afcf9c6be1b (diff) | |
download | git-htmldocs-9766dd37e7d543874fe13ac730c68c032bf5b0e2.tar.gz |
Autogenerated HTML docs for v2.37.1-188-g71a8f
Diffstat (limited to 'git-grep.txt')
-rw-r--r-- | git-grep.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/git-grep.txt b/git-grep.txt index 3d393fbac..58d944bd5 100644 --- a/git-grep.txt +++ b/git-grep.txt @@ -23,6 +23,7 @@ SYNOPSIS [--break] [--heading] [-p | --show-function] [-A <post-context>] [-B <pre-context>] [-C <context>] [-W | --function-context] + [(-m | --max-count) <num>] [--threads <num>] [-f <file>] [-e] <pattern> [--and|--or|--not|(|)|-e <pattern>...] @@ -238,6 +239,14 @@ providing this option will cause it to die. `git diff` works out patch hunk headers (see 'Defining a custom hunk-header' in linkgit:gitattributes[5]). +-m <num>:: +--max-count <num>:: + Limit the amount of matches per file. When using the `-v` or + `--invert-match` 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. + --threads <num>:: Number of grep worker threads to use. See `grep.threads` in 'CONFIGURATION' for more information. |