git-grep: fix parsing of pathspec separator '--'
authorJunio C Hamano <junkio@cox.net>
Tue, 4 Jul 2006 09:31:50 +0000 (02:31 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 4 Jul 2006 10:15:46 +0000 (03:15 -0700)
commit5390590f6d72ffb80da74ed4cbc8648400ea3481
tree400903624cd52dfaf788409f6d820942366ae0bc
parent4d62eaabeb283d6dab56cfb2f2e54144b98afafd
git-grep: fix parsing of pathspec separator '--'

We used to misparse

git grep -e foo -- '*.sh'

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-grep.c