This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Git mirror email address mangling
- From: Kalle Olavi Niemitalo <kon at iki dot fi>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 14 Apr 2013 11:09:50 +0300
- Subject: Re: Git mirror email address mangling
- Keywords: mailmap
- References: <20130413172528 dot GB9014 at x4>
Markus Trippelsdorf <markus@trippelsdorf.de> writes:
> To fix all previous git commits on the mirror one may use the attached
> git-svn-fix-author script.
Alternatively, you could reformat gcc_authors as a mailmap file
and tell Git to use that when displaying the commits. It would
avoid having to edit the history, and the email addresses would
be easy to update later.
Using a mailmap file in git log used to require writing custom
format strings, and I'm not sure it was even possible to get the
commit message indented in the usual way. It seems Git v1.8.2
has added git log --use-mailmap to make this easier.