[PATCH v3 0/3] Implement option to output local-part of email addresses
- From
Prarit Bhargava <prarit@redhat.com>
- Date
- Oct 24, 2019, 23:36 UTC
- Message-ID
- <20191024233617.18716-1-prarit@redhat.com>
In many projects the number of contributors is low enough that users know each other and the full email address doesn't need to be displayed. Displaying only the author's username saves a lot of columns on the screen. For example displaying "prarit" instead of "prarit@redhat.com" saves 11 columns.
The first two patches are clean-up/prep patches that modify tests t6006 and t4203 to use the definitions in test-lib.sh. The third patch implements the "%aL"|"%al|%cL|%cl" pretty options.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Prarit Bhargava (3):
t6006: Use test-lib.sh definitions
t4203: Use test-lib.sh definitions
pretty: add "%aL"|"%al|%cL|%cl" option to output local-part of email
addressesDocumentation/pretty-formats.txt | 8 ++ pretty.c | 9 ++- t/t4203-mailmap.sh | 122 +++++++++++++++++++------------ t/t6006-rev-list-format.sh | 28 ++++--- t/test-lib.sh | 8 +- 5 files changed, 113 insertions(+), 62 deletions(-)
-- 2.21.0