]> rtime.felk.cvut.cz Git - git.git/blobdiff - Documentation/git-grep.txt
grep -p: support user defined regular expressions
[git.git] / Documentation / git-grep.txt
index b3bb2836444fff2964deb47d1e8e2f6c36b1fe50..b753c9d76fde51198eb7ef34b9ff298095fb1f72 100644 (file)
@@ -126,6 +126,9 @@ OPTIONS
 --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
+       patch hunk headers (see 'Defining a custom hunk-header' in
+       linkgit:gitattributes[5]).
 
 -f <file>::
        Read patterns from <file>, one per line.