Re: email address handling
- From
- Andrew Morton <akpm@linux-foundation.org>
- Date
- Aug 1, 2008, 22:27 UTC
- Message-ID
- <20080801152720.56dbff09.akpm@linux-foundation.org>
- In-Reply-To
- <20080801221539.GA8617@mit.edu>
On Fri, 1 Aug 2008 18:15:39 -0400 Theodore Tso <tytso@mit.edu> wrote:
> How about this as a compromise? Git continues to store the names in > its internal format as it always does, but there is a configuration > option which controls whether the various Author: and Committer: > fields when displayd by git-log are in RFC-822 format or not.
Well I believe/expect/hope that git's name+email-address transformation goes via a lookup in the kernel's .mailmap file.
And the existing .mailmap appears to have taken care that all the "name" parts are in an MUA-usable form. There are no periods or commas.
So if everyone had a .mailmap entry then
- The Author: lines would all be MUA usable
- The Author lines would all be in their owners' preferred form. I mean, converting
"Morton, Andrew"
into
Morton, Andrew
didn't improve things much.