[PATCH] grep.txt: document pathspec for --no-index
because it allows leading path match only, no globs.
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
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
<pathspec>...::
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