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

Re: [PATCH 2/2] log --author: take union of multiple "author" requests

From
Emil Sit <sit@emilsit.net>
Date
Sep 13, 2010, 16:17 UTC
Message-ID
<AANLkTinaj4AsPE9j-gS2-0Cn8jx7a1uYYGtmq5oC=YVB@mail.gmail.com>
In-Reply-To
<7vmxrmawg0.fsf_-_@alter.siamese.dyndns.org>
On Mon, Sep 13, 2010 at 4:18 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
>    log --author=me --author=her \
>        --committer=him --committer=you \
>        --grep=this --grep=that
>
> into
>
>    (ALL-MATCH
>      (OR (HEADER-AUTHOR me) (HEADER-AUTHOR her))
>      (OR (HEADER-COMMITTER him) (HEADER-COMMITTER you))
>      (OR (PATTERN this) (PATTERN that)))

Both patches look good to me. Tested fine with my use cases. Thanks for doing this.

I'm a little confused about the implementation with regards to --all-match; does there still need to be an all-match flag? Seems like it has now been deprecated (to being, essentially, the default). In any case, there should also probably something going along with this patch series to update Documentation/rev-list-options.txt.

Thanks again.
-- 
Emil Sit / http://www.emilsit.net/
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 6 in “Regression in git log with multiple authors”
  1. Emil SitAug 26, 2010
  2. Junio C HamanoAug 26, 2010
  3. 1/2 grep: move logic to compile header pattern into a separate helperJunio C Hamano, Sep 13, 2010
  4. 2/2 log --author: take union of multiple "author" requestsJunio C Hamano, Sep 13, 2010
  5. Emil SitSep 13, 2010
  6. Junio C HamanoSep 13, 2010

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.