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>
maint
Bert Wesarg 2011-10-15 20:36:22 +02:00 committed by Junio C Hamano
parent 0a93fb8a9c
commit 92e61831fb
1 changed files with 1 additions and 1 deletions

View File

@ -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;