From: Prarit Bhargava <prarit@redhat.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com, sandals@crustytoothpaste.net, peff@peff.net,
szeder.dev@gmail.com, Prarit Bhargava <prarit@redhat.com>
Subject: [PATCH v3 0/3] Implement option to output local-part of email addresses
Date: Thu, 24 Oct 2019 19:36:14 -0400 [thread overview]
Message-ID: <20191024233617.18716-1-prarit@redhat.com> (raw)
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
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
next reply other threads:[~2019-10-24 23:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 23:36 Prarit Bhargava [this message]
2019-10-24 23:36 ` [PATCH v3 1/3] t6006: Use test-lib.sh definitions Prarit Bhargava
2019-10-25 6:05 ` Junio C Hamano
2019-10-24 23:36 ` [PATCH v3 2/3] t4203: " Prarit Bhargava
2019-10-25 6:18 ` Junio C Hamano
2019-10-24 23:36 ` [PATCH v3 3/3] pretty: add "%aL"|"%al|%cL|%cl" option to output local-part of email addresses Prarit Bhargava
2019-10-25 5:51 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191024233617.18716-1-prarit@redhat.com \
--to=prarit@redhat.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=peff@peff.net \
--cc=sandals@crustytoothpaste.net \
--cc=szeder.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).