summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-19 14:42:53 +0900
committerJunio C Hamano <gitster@pobox.com>2018-10-19 14:42:53 +0900
commitabe2c594325aec522daad772d880e019c2a55747 (patch)
tree3ad53a9b61f089407659c0e286e5c4553633e481 /git-grep.txt
parent32a7527a335c1725848d37986ce4b54ab9861c9d (diff)
downloadgit-htmldocs-abe2c594325aec522daad772d880e019c2a55747.tar.gz
Autogenerated HTML docs for v2.19.1-542-gc4df2
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/git-grep.txt b/git-grep.txt
index a3049af1a..84fe236a8 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -18,7 +18,7 @@ SYNOPSIS
[(-O | --open-files-in-pager) [<pager>]]
[-z | --null]
[ -o | --only-matching ] [-c | --count] [--all-match] [-q | --quiet]
- [--max-depth <depth>]
+ [--max-depth <depth>] [--[no-]recursive]
[--color[=<when>] | --no-color]
[--break] [--heading] [-p | --show-function]
[-A <post-context>] [-B <pre-context>] [-C <context>]
@@ -119,11 +119,18 @@ OPTIONS
--max-depth <depth>::
For each <pathspec> given on command line, descend at most <depth>
- levels of directories. A negative value means no limit.
+ levels of directories. A value of -1 means no limit.
This option is ignored if <pathspec> contains active wildcards.
In other words if "a*" matches a directory named "a*",
"*" is matched literally so --max-depth is still effective.
+-r::
+--recursive::
+ Same as `--max-depth=-1`; this is the default.
+
+--no-recursive::
+ Same as `--max-depth=0`.
+
-w::
--word-regexp::
Match the pattern only at word boundary (either begin at the