summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorLibravatar Prarit Bhargava <prarit@redhat.com>2019-10-29 08:09:14 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-10-30 11:49:41 +0900
commitd8b8217c8a16944dc61a1553464efabc450a6680 (patch)
treeabb6adff8c4f1dff6418082630369842adf00741 /.clang-format
parentt4203: use test-lib.sh definitions (diff)
downloadtgif-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 '.clang-format')
0 files changed, 0 insertions, 0 deletions