[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using the mailmap file?
From: |
Reinhold Kainhofer |
Subject: |
Re: using the mailmap file? |
Date: |
Wed, 24 Mar 2010 19:11:48 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.31-20-generic; KDE/4.3.5; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday 24 March 2010 18:44:48 Patrick McCarty wrote:
> 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'.
Yes, unfortunately only for shortlog :(
However, what you might do is to simply use the first email (or at least to
check which absolutely broken emails we have in the repository that you might
want to replace, like "address@hidden(none)" ). Of course, for this you need to
go through the mailcap manually rather than automatically...
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* Edition Kainhofer Music Publishing, http://www.edition-kainhofer.com/
* LilyPond music typesetting software, http://www.lilypond.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkuqVeUACgkQTqjEwhXvPN0kCACfRwqJYLb0Ht+o7SPS4Hit3W9s
VqEAn09nyaUM2iQPSeUGqfXdHptokk8L
=pgT+
-----END PGP SIGNATURE-----