Jeff King [off-list ref] 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???" ;-)