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>
Bert Wesarg committed
Oct 15, 2011 at 20:36 UTC
92e61831fb2c8d5b874405906510230fd0f10998
1 file changed
+1
-1
builtin-grep.c
+1
-1
@@ -971,7 +971,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
971
}
972
973
if (0 <= opt_exclude)
974
- die("--exclude or --no-exclude cannot be used for tracked contents.");
974
+ die("--[no-]exclude-standard cannot be used for tracked contents.");
975
976
if (!list.nr) {
977
int hit;