diff options
author | Junio C Hamano <junkio@cox.net> | 2006-08-12 19:16:33 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-12 19:16:33 -0700 |
commit | cd5fff64e6014f9c1d4c2bc113fde19bd45d2db7 (patch) | |
tree | 550703b7b5f225609099a0dc3f2529ad5eda61e1 /Documentation | |
parent | Merge branch 'mk/rename' (diff) | |
parent | git-grep: show pathnames relative to the current directory (diff) | |
download | tgif-cd5fff64e6014f9c1d4c2bc113fde19bd45d2db7.tar.xz |
Merge branch 'jc/grep'
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-grep.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index dc7683383c..7545dd9a3e 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -11,7 +11,7 @@ SYNOPSIS [verse] 'git-grep' [--cached] [-a | --text] [-I] [-i | --ignore-case] [-w | --word-regexp] - [-v | --invert-match] + [-v | --invert-match] [--full-name] [-E | --extended-regexp] [-G | --basic-regexp] [-F | --fixed-strings] [-n] [-l | --files-with-matches] [-L | --files-without-match] [-c | --count] @@ -47,6 +47,12 @@ OPTIONS -v | --invert-match:: Select non-matching lines. +--full-name:: + When run from a subdirectory, the command usually + outputs paths relative to the current directory. This + option forces paths to be output relative to the project + top directory. + -E | --extended-regexp | -G | --basic-regexp:: Use POSIX extended/basic regexp for patterns. Default is to use basic regexp. |