git log: avoid segfault with --all-match
authorMichele Ballabio <barra_cuda@katamail.com>
Wed, 18 Mar 2009 20:53:27 +0000 (21:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Mar 2009 02:10:40 +0000 (19:10 -0700)
commitba150a3fdce48e4b973db6e153e6b3ffb28a0cea
treef893b4b92eabb13812e1553093a5effebe4ba554
parent092927c1b01632d030d9d746d36ad6dd02bc3967
git log: avoid segfault with --all-match

Avoid a segfault when the command

git log --all-match

was issued, by ignoring the option.

Signed-off-by: Michele Ballabio <barra_cuda@katamail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
grep.c