Thread (3 messages) 3 messages, 2 authors, 2016-06-15

[PATCH] grep.txt: document pathspec for --no-index

flat view
DORMANTno replies

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:50:32
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

because it allows leading path match only, no globs.

Signed-off-by: Michael J Gruber <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help