Imported Upstream version 2.30.0
[platform/upstream/git.git] / Documentation / git-grep.txt
index 6077ff0..4e0ba82 100644 (file)
@@ -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.