From: Junio C Hamano Date: Tue, 25 Sep 2012 16:19:53 GMT Subject: Re: Quickly searching for a note Message-ID: <7vlifyvzva.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120925003855.GB19586@sigill.intra.peff.net> Jeff King writes: > Agreed. I just posted a patch series that gives you --pretty lua > support, though I haven't convinced myself it's all that exciting yet. I > think it would be nicer for grepping, where the conditionals read more > like regular code. Something like: > > git log --lua-filter=' > return > author().name.match("Junio") && > note("p4").match("1234567") > ' > > reads OK to me. Yeah, except for "me and p4???" ;-)