[PATCH 0/2] pretty: add %aA to show domain-part of email addresses
- From
Liam Beguin <liambeguin@gmail.com>
- Date
- Oct 26, 2023, 23:16 UTC
- Message-ID
- <20231026-pretty-email-domain-v1-0-5d6bfa6615c0@gmail.com>
Many reports use the email domain to keep track of organizations contributing to projects. Add support for formatting the domain-part of a contributor's address so that this can be done using git itself, with something like:
git shortlog -sn --group=format:%aA v2.41.0..v2.42.0
---
Liam Beguin (2):
doc: pretty-formats: add missing word
pretty: add '%aA' to show domain-part of email addressesDocumentation/pretty-formats.txt | 10 ++++++++-- pretty.c | 13 ++++++++++++- t/t4203-mailmap.sh | 28 ++++++++++++++++++++++++++++ t/t6006-rev-list-format.sh | 6 ++++-- 4 files changed, 52 insertions(+), 5 deletions(-) --- base-commit: 2e8e77cbac8ac17f94eee2087187fa1718e38b14 change-id: 20231025-pretty-email-domain-2eb2ae23f416
Best regards,
-- Liam Beguin <liambeguin@gmail.com>