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@xxxxxxxxxx" 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@xxxxxxxxxx> 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 addresses Documentation/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