Code

grep --no-index: don't use git standard exclusions
authorBert Wesarg <bert.wesarg@googlemail.com>
Thu, 15 Sep 2011 18:26:03 +0000 (20:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Sep 2011 19:27:40 +0000 (12:27 -0700)
commita9e643668aa932d93528fffa573a13a28eb54556
tree01f9914c85ef846250ae4c0d4b354dc0b3d20ba5
parentac1d33dd0205c52fb168ddaa53b40aeb6f1ea7b5
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 <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c
t/t7002-grep.sh