Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Quickly searching for a note

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:52

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???" ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help