grep with unmerged index
commitb67a43bb8f4a8ffb64f26b7351c3b0b90239696a
authorJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 01:16:47 +0000 (5 17:16 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2007 02:57:58 +0000 (5 18:57 -0800)
tree32e7062fff50678766d282524ee8da6f8fb35ff1
parent62c666a7034a3aed6792280589bb78205781aa68
grep with unmerged index

We called flush_grep() every time we saw an unmerged entry in
the index.  If we happen to find an unmerged entry before we saw
more than two paths, we incorrectly declared that the user had
too many non-paths options in front.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c