From: Michael J Gruber Date: Fri, 11 Feb 2011 15:06:47 GMT Subject: [PATCH] grep.txt: document pathspec for --no-index Message-ID: <7150921343449bab0c43401ad204f090c111d7f0.1297436625.git.git@drmicha.warpmail.net> In-Reply-To: <4D55500B.1070603@drmicha.warpmail.net> because it allows leading path match only, no globs. Signed-off-by: Michael J Gruber --- Documentation/git-grep.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Documentation/git-grep.txt b/Documentation/git-grep.txt index dab0a78..ef01a57 100644 --- a/Documentation/git-grep.txt +++ b/Documentation/git-grep.txt @@ -186,7 +186,8 @@ OPTIONS ...:: If given, limit the search to paths matching at least one pattern. - Both leading paths match and glob(7) patterns are supported. + Both leading paths match and glob(7) patterns are supported + unless `--no-index` is used, which supports only the former. Examples -------- -- 1.7.4.91.g3d0bb