summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Bert Wesarg <bert.wesarg@googlemail.com>2011-10-15 20:36:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-15 20:25:21 -0700
commit92e61831fb2c8d5b874405906510230fd0f10998 (patch)
treec68d51f31cebda46132dc114eddeb72c56d39cfe
parentgrep: teach --untracked and --exclude-standard options (diff)
downloadtgif-92e61831fb2c8d5b874405906510230fd0f10998.tar.xz
grep: fix the error message that mentions --exclude
Missing rename from --exclude to --standard-exclude. Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin-grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-grep.c b/builtin-grep.c
index 2da6bc61b6..45a23cfe64 100644
--- 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;