[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using the mailmap file?
From: |
Patrick McCarty |
Subject: |
Re: using the mailmap file? |
Date: |
Wed, 24 Mar 2010 10:44:48 -0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On 2010-03-24, Jan Nieuwenhuizen wrote:
>
> We have a sort-of nice mailmap file, can this be
> used to rewrite author names/email addresses?
>
> I'm running it from git format-branch, so I'd
> need something that takes GIT_AUTHOR_EMAIL
> and GIT_AUTHOR_NAME and returns the unified
> pair.
You could use it to rewrite author *names*, but probably not the email
addresses, since the .mailmap is primarily used to fix the output of
`git shortlog'.
The man page for `git-shortlog' has a really nice example illustrating
this.
-Patrick