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

Re: What's cooking in git.git (May 2012, #06; Wed, 23)

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

René Scharfe [off-list ref] writes:
Am 24.05.2012 00:24, schrieb Junio C Hamano:
quoted
* rs/maint-grep-F (2012-05-21) 4 commits
   (merged to 'next' on 2012-05-23 at b24143c)
  + grep: stop leaking line strings with -f
  + grep: support newline separated pattern list
  + grep: factor out do_append_grep_pat()
  + grep: factor out create_grep_pat()

"git grep -F", unlike the case where it reads from a file, did not treat
individual lines in the given pattern argument as separate patterns as it
should.
This is not specific to -F; grep(1) accepts newline-separated pattern
lists with -E etc. as well, as does git grep with the patches above.
Yeah, I noticed that "unlike where reading from a file" should contrast
against "where params come from the command line", not with any particular
way to interpret individual pattern. after sending it out.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help