aboutsummaryrefslogtreecommitdiffstats
path: root/cache-tree.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 /cache-tree.c
parentshortlog: extract `shortlog_finish_setup()` (diff)
downloadgit-9c10d4ff2401cd5908e4e874c403fadebb2ac0b3.tar.gz
git-9c10d4ff2401cd5908e4e874c403fadebb2ac0b3.zip
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 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions