summaryrefslogtreecommitdiffstats
path: root/git-grep.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-18 14:15:08 -0800
committerJunio C Hamano <gitster@pobox.com>2020-11-18 14:15:08 -0800
commitb7676d5ada0941ade7ac9acb8ce985686b62b2ab (patch)
tree11ddf24c8178241b09e082064ac45508a805f0e6 /git-grep.txt
parentee43d18844df1f78dad8b389cbb393b211073d17 (diff)
downloadgit-htmldocs-b7676d5ada0941ade7ac9acb8ce985686b62b2ab.tar.gz
Autogenerated HTML docs for v2.29.2-334-gfaefd
Diffstat (limited to 'git-grep.txt')
-rw-r--r--git-grep.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/git-grep.txt b/git-grep.txt
index 6077ff01a..4e0ba8234 100644
--- a/git-grep.txt
+++ b/git-grep.txt
@@ -241,7 +241,7 @@ providing this option will cause it to die.
--show-function::
Show the preceding line that contains the function name of
the match, unless the matching line is a function name itself.
- The name is determined in the same way as 'git diff' works out
+ The name is determined in the same way as `git diff` works out
patch hunk headers (see 'Defining a custom hunk-header' in
linkgit:gitattributes[5]).
@@ -266,7 +266,9 @@ providing this option will cause it to die.
Show the surrounding text from the previous line containing a
function name up to the one before the next function name,
effectively showing the whole function in which the match was
- found.
+ found. The function names are determined in the same way as
+ `git diff` works out patch hunk headers (see 'Defining a
+ custom hunk-header' in linkgit:gitattributes[5]).
--threads <num>::
Number of grep worker threads to use.