diff options
author | Prarit Bhargava <prarit@redhat.com> | 2019-10-29 08:09:14 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-30 11:49:41 +0900 |
commit | d8b8217c8a16944dc61a1553464efabc450a6680 (patch) | |
tree | abb6adff8c4f1dff6418082630369842adf00741 /Documentation/git-sh-setup.txt | |
parent | t4203: use test-lib.sh definitions (diff) | |
download | tgif-d8b8217c8a16944dc61a1553464efabc450a6680.tar.xz |
pretty: add "%aL" etc. to show local-part of email addresses
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.
Existing 'e/E' (as in "%ae" and "%aE") placeholders would show the
author's address as "prarit@redhat.com", which would waste columns to show
the same domain-part for all contributors when used in a project internal
to redhat. Introduce 'l/L' placeholders that strip '@' and domain part from
the e-mail address.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-sh-setup.txt')
0 files changed, 0 insertions, 0 deletions