Re: Quickly searching for a note
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 25, 2012, 16:19 UTC
- Message-ID
- <7vlifyvzva.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120925003855.GB19586@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 12 quoted lines
> 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???" ;-)