Merge branch 'nd/ita-cleanup'
commit42bd66816bd117ed5e6d15f38dbe9e655ebc76a5
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 18:24:17 +0000 (13 11:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jul 2016 18:24:18 +0000 (13 11:24 -0700)
tree171137a5689f92dca06938be5842a567f7d164cf
parent5eb1e9f1a0df41cfc6a75cef9c2f11460a6da8dc
parentb8e47d1acfa299299d1120241bdc6164867d1289
Merge branch 'nd/ita-cleanup'

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
builtin/grep.c
t/t7810-grep.sh