Merge branch 'nd/ita-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 18:24:17 +0000 (11:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 18:24:18 +0000 (11:24 -0700)
Git does not know what the contents in the index should be for a
path added with "git add -N" yet, so "git grep --cached" should not
show hits (or show lack of hits, with -L) in such a path, but that
logic does not apply to "git grep", i.e. searching in the working
tree files. But we did so by mistake, which has been corrected.

* nd/ita-cleanup:
grep: fix grepping for "intent to add" files
t7810-grep.sh: fix a whitespace inconsistency
t7810-grep.sh: fix duplicated test name

1  2 
builtin/grep.c
t/t7810-grep.sh
diff --cc builtin/grep.c
Simple merge
diff --cc t/t7810-grep.sh
Simple merge