grep: fix segfault when "git grep '('" is given
commitc922b01f54c4bebe84daeacf014cfbc8dc68479b
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 27 Apr 2009 18:10:24 +0000 (27 11:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Apr 2009 00:28:18 +0000 (27 17:28 -0700)
tree073eb94c6c06fa06013197a01ce703bda59b7923
parentd649048e68f2f5d59f6f961839c9e9772743a505
grep: fix segfault when "git grep '('" is given

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c
t/t7002-grep.sh