git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Teach "log -F --author=<match>" to behave better

From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Date
Sep 4, 2008, 13:56 UTC
Message-ID
<cb7bb73a0809040656n7f53c033w2b932d4bb5388f54@mail.gmail.com>
In-Reply-To
<7vprnk5n3c.fsf_-_@gitster.siamese.dyndns.org>
On Thu, Sep 4, 2008 at 10:31 AM, Junio C Hamano <gitster@pobox.com> wrote:
> This extends the grep machinery so that a match insn can ignore user
> specified --fixed-string request, and uses the '( -e A --and -e B )'
(insn?)
>  * A variant of this would be to make the --author match always ignore -F,
>   which is now possible with the enhancement to the grep machinery.  But
>   it is unlikely that you would have regexp metacharacters in author
>   field, so it might not be necessary.

Well, if the user greps for a dotted email address, not escaping the search string might cause some false positives to pop up.

-- 
Giuseppe "Oblomov" Bilotta
Previous: Junio C HamanoNext: Petr Baudis
Message 8 of 13 in “git rev-list --author/--committer b0rked with -F/--fixed-strings”
  1. Giuseppe BilottaSep 4, 2008
  2. Junio C HamanoSep 4, 2008
  3. Teach "log -F --author=<match>" to behave betterJunio C Hamano, Sep 4, 2008
  4. Teemu LikonenSep 4, 2008
  5. Junio C HamanoSep 4, 2008
  6. Teemu LikonenSep 4, 2008
  7. Junio C HamanoSep 5, 2008
  8. Giuseppe BilottaSep 4, 2008
  9. Petr BaudisSep 4, 2008
  10. Junio C HamanoSep 4, 2008
  11. --all-matchTeemu Likonen, Sep 5, 2008
  12. Junio C HamanoSep 5, 2008
  13. Giuseppe BilottaSep 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.