Git Mailing List Archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Blyxyas <blyxyas@gmail.com>
Cc: Jeff King <peff@peff.net>, git@vger.kernel.org
Subject: Re: Inconsistent names in `git shortlog`
Date: Tue, 25 Apr 2023 08:46:07 -0700	[thread overview]
Message-ID: <xmqq8reg55j4.fsf@gitster.g> (raw)
In-Reply-To: <20230425065242.GE4061254@coredump.intra.peff.net> (Jeff King's message of "Tue, 25 Apr 2023 02:52:42 -0400")

Jeff King <peff@peff.net> writes:

> On Tue, Apr 25, 2023 at 02:00:27AM +0200, Blyxyas wrote:
>
>> This isn't a big deal on its own, but there are some external tools
>> (like thanks.rust-lang.org) that use the output of `git shortlog` to
>> thank contributors, and it has some cases of people going just by
>> their first name (no surnames), or people appearing multiple times,
>> once with their username and one with their real name.
>
> I agree with everything brian said elsewhere, but I wanted to add one
> thing: for this "multiple times" problem, it can be solved with a
> mailmap file, which associates names such that ones you don't like can
> be rewritten to ones that you do. See "git help mailmap" for details and
> examples.

And another, potentially more effective, tool is to have a project
convention.  Teach the participant of your project to be consistent
in the first place.


      reply	other threads:[~2023-04-25 15:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25  0:00 Inconsistent names in `git shortlog` Blyxyas
2023-04-25  0:40 ` brian m. carlson
2023-04-25  6:52 ` Jeff King
2023-04-25 15:46   ` Junio C Hamano [this message]

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=xmqq8reg55j4.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=blyxyas@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).