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

git shortlog --committer=name is documented, alas not implemented

From
GPGerald Pfeifer <gerald@pfeifer.com>
Date
May 11, 2024, 12:34 UTC
Message-ID
<77e42d15-fcaf-5c1b-3a00-f1f1e3cedfc4@pfeifer.com>
`man git shortlog` (from git 2.45.0) has the following:
   --author=<pattern>, --committer=<pattern>
       Limit the commits output to ones with author/committer header lines 
       that match the specified pattern (regular expression). With more 
       than one --author=<pattern>, commits whose author matches any of 
       the given patterns are chosen (similarly for multiple 
       --committer=<pattern>).
Now `git shortlog --author=gerald` works as expected.
However `git shortlog --committer=gerald` results in an error:
  error: option `committer' takes no value
This is either a doc bug or an implementation issue?

Also, how does one list all commits by a certain committer (as opposed to author) then?

Thanks, Gerald

Next: Georg Pfuetzenreuter
Message 1 of 3 in “git shortlog --committer=name is documented, alas not implemented”
  1. Gerald PfeiferMay 11, 2024
  2. Georg PfuetzenreuterMay 11, 2024
  3. Junio C HamanoMay 11, 2024

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.