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

[PATCH 0/2] shortlog: introduce --email-only, --group-filter options

From
Taylor Blau <me@ttaylorr.com>
Date
Jun 7, 2023, 23:02 UTC
Message-ID
<cover.1686178917.git.me@ttaylorr.com>

These couple of patches introduce a pair of new options to `git shortlog`. They are:

  - `--group-filter`, which restricts the output to group(s) of interest
  - `--email-only`, which allows callers to splice emails out of groups,
    which is useful when grouping based on trailers that usually contain
    identities (e.g. "Co-authored-by"), where the search is
    name-insensitive and only cares about a strict match on the email.
Let me know what you think, and thanks in advance for your review.
Taylor Blau (2):
  shortlog: introduce `--group-filter` to restrict output
  shortlog: introduce `--email-only` to only show emails
 Documentation/git-shortlog.txt | 10 +++++
 builtin/shortlog.c             | 53 +++++++++++++++++-----
 shortlog.h                     |  3 ++
 t/t4201-shortlog.sh            | 82 ++++++++++++++++++++++++++++++++++
 4 files changed, 138 insertions(+), 10 deletions(-)
-- 
2.41.0.1.gf123b68cb8
Next: Taylor Blau
Message 1 of 8 in “shortlog: introduce --email-only, --group-filter options”
  1. 0/2 shortlog: introduce --email-only, --group-filter optionsTaylor Blau, Jun 7, 2023
  2. 1/2 shortlog: introduce `--group-filter` to restrict outputTaylor Blau, Jun 7, 2023
  3. Derrick StoleeJun 8, 2023
  4. Taylor BlauJun 8, 2023
  5. 2/2 shortlog: introduce `--email-only` to only show emailsTaylor Blau, Jun 7, 2023
  6. Johannes SixtJun 8, 2023
  7. Taylor BlauJun 8, 2023
  8. Junio C HamanoJun 12, 2023

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.