Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: fix the error message that mentions --exclude
[gitweb.git]
/
builtin-grep.c
diff --git
a/builtin-grep.c
b/builtin-grep.c
index 2da6bc61b66eea3594b3d0321de4a39cc3f49f8f..45a23cfe6434cf1836be05f6205dffac3e26fc86 100644
(file)
--- a/
builtin-grep.c
+++ b/
builtin-grep.c
@@
-971,7
+971,7
@@
int cmd_grep(int argc, const char **argv, const char *prefix)
}
if (0 <= opt_exclude)
- die("--
exclude or --no-exclude
cannot be used for tracked contents.");
+ die("--
[no-]exclude-standard
cannot be used for tracked contents.");
if (!list.nr) {
int hit;