git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] grep: fix error message mention --exclude
@ 2011-10-15 18:36 Bert Wesarg
  2011-10-16  3:27 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Bert Wesarg @ 2011-10-15 18:36 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, Bert Wesarg

Missing rename from --exclude to --standard-exclude.

Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
---
 builtin/grep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builtin/grep.c b/builtin/grep.c
index 024b878..7d0779f 100644
--- a/builtin/grep.c
+++ b/builtin/grep.c
@@ -1064,7 +1064,7 @@ int cmd_grep(int argc, const char **argv, const char *prefix)
 			die(_("--no-index or --untracked cannot be used with revs."));
 		hit = grep_directory(&opt, &pathspec, use_exclude);
 	} else 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."));
 	} else if (!list.nr) {
 		if (!cached)
 			setup_work_tree();
-- 
1.7.6.789.gb4599

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] grep: fix error message mention --exclude
  2011-10-15 18:36 [PATCH] grep: fix error message mention --exclude Bert Wesarg
@ 2011-10-16  3:27 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2011-10-16  3:27 UTC (permalink / raw)
  To: Bert Wesarg; +Cc: git

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-16  5:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-15 18:36 [PATCH] grep: fix error message mention --exclude Bert Wesarg
2011-10-16  3:27 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).