From: Junio C Hamano Date: Wed, 18 Mar 2009 18:33:36 GMT Subject: Re: [PATCH] git log: avoid segfault with --all-match Message-ID: <7vbpryfzpb.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1237399576-27323-1-git-send-email-barra_cuda@katamail.com> Michele Ballabio writes: > Avoid a segfault when the command > > git log --all-match > > was issued. > > Signed-off-by: Michele Ballabio > --- > > Not sure if this is the right fix, nor if it would be better a > warning or an error. I think ignoring it makes sense; you could alias "git log --all-match" to something like "git lg", and when no grepping option appears it will still work. I'd add s/was issued./was issued, by ignoring the option/; or something like that, though.