summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-24 14:55:44 -0400
committerJunio C Hamano <gitster@pobox.com>2022-10-24 14:48:05 -0700
commit9c10d4ff2401cd5908e4e874c403fadebb2ac0b3 (patch)
treedd28672d0538e5b12928c984973bcc8e4dc7c42d /commit.c
parent10538e2a627b8ab14f977c868f2975a2acb4ed4d (diff)
shortlog: implement `--group=author` in terms of `--group=<format>`
Instead of handling SHORTLOG_GROUP_AUTHOR separately, reimplement it as a special case of the new `--group=<format>` mode, where the author mode is a shorthand for `--group='%aN <%aE>'. Note that we still need to keep the SHORTLOG_GROUP_AUTHOR enum since it has a different meaning in `read_from_stdin()`, where it is still used for a different purpose. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions