From a9e643668aa932d93528fffa573a13a28eb54556 Mon Sep 17 00:00:00 2001 From: Bert Wesarg Date: Thu, 15 Sep 2011 20:26:03 +0200 Subject: grep --no-index: don't use git standard exclusions The --no-index mode is intended to be used outside of a git repository, and it does not make sense to apply the git standard exclusions outside a git repositories. Signed-off-by: Bert Wesarg Signed-off-by: Junio C Hamano --- builtin-grep.c | 1 - 1 file changed, 1 deletion(-) (limited to 'builtin-grep.c') diff --git a/builtin-grep.c b/builtin-grep.c index e3eeb77cc7..a10946db3c 100644 --- a/builtin-grep.c +++ b/builtin-grep.c @@ -652,7 +652,6 @@ static int grep_directory(struct grep_opt *opt, const char **paths) int i, hit = 0; memset(&dir, 0, sizeof(dir)); - setup_standard_excludes(&dir); fill_directory(&dir, paths); for (i = 0; i < dir.nr; i++) { -- cgit v1.2.1