RE: git shortlog --committer vs --committer=<pattern>
- From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
- Date
- Jan 13, 2026, 15:49 UTC
- Message-ID
- <018701dc84a4$39555970$ac000c50$@nexbridge.com>
- In-Reply-To
- <e2733434-f632-4be5-a9e0-28412b4043c4@igalia.com>
On January 13, 2026 10:23 AM, Manuel Rego Casasnovas wrote:
Show 14 quoted lines
>Doing something like this in a Git repository returns an error (git version 2.51.0): >$ git shortlog --committer=foo >error: option `committer' takes no value > >However the option "--committer=<pattern>" is in the documentation: >https://git-scm.com/docs/git-shortlog#Documentation/git-shortlog.txt--- >committerpattern > >But it seems to be in conflict with "--committer": >https://git-scm.com/docs/git-shortlog#Documentation/git-shortlog.txt--- >committer > >It would be nice to either allow using "--committer=<pattern>" for shortlog, or if >that's not possible fix the documentation.
I do not see --committer=<pattern>, but do see --committer pattern in the online help and documentation. --committer is an alias for --group=committer. Pattern applies to the log entries.