Re: What's in a name? Let's use a (uuid,name,email) triplet

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Friday, March 19, 2010 - 5:21 pm

On Fri, 19 Mar 2010, Michael Witten wrote:


It is not true.  From the git-config(1) manpage, the description (meaning)
of user.name and user.email is:

  user.email::
        Your email address to be recorded in any newly created commits.
        Can be overridden by the 'GIT_AUTHOR_EMAIL', 'GIT_COMMITTER_EMAIL', and
        'EMAIL' environment variables.  See linkgit:git-commit-tree[1].

  user.name::
        Your full name to be recorded in any newly created commits.
        Can be overridden by the 'GIT_AUTHOR_NAME' and 'GIT_COMMITTER_NAME'
        environment variables.  See linkgit:git-commit-tree[1].
 
As you can see there is nothing about email, and physicsl email account.

It is true that git-send-email asks about the "From" email address to
send email from with user.name + user.email as default value...
unless either sendemail.from or --from option is used.  
[See also below].


You do not need (in theory at least) to change user.name nor user.email
with real life name changing (like marriage or adoption) and email 
account switching.

[...]

Actually git-send-email would automatically add in-body "From:" header
if it is different from the "From:" address for email, and git-am would
automatically prefer in-body "From:" over sender (in-header "From:")
for authorship information.

Sender can be different from author of the patch, there is no problem
with that.

What git can improve here (and perhaps already does it) is handling of
non-ASCII characters in name (e.g. when commit message does not contain
non US-ASCII letters, but user.name does).  Perhaps it got corrected
(improved) already.


P.S. Backward compatibility (older git-am) would probably require
UUID in the form of canonical name+email, and use of in-body "From:"
header to pass this UUID when sending patches.


git-send-email *already* automatically deals with sender != author.

[...]

How in-tree .mailmap file (in-tree like .gitignore and .gitattributes)
is *centralized identity management*?  It is as distributed as git
repositories are.

On the other hand user.uuid is not distributed; for security reasons
config is not transferred.

[...]

Well, I guess it is statistics that dominates, not id part.  Such
tools shoud simply take .mailmap into account (unless they rely on
git for that.).

-- 
Jakub Narebski
Poland
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Thu Mar 18, 6:23 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 10:27 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Thu Mar 18, 11:42 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Thu Mar 18, 11:57 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 12:07 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 12:20 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Thu Mar 18, 12:32 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 12:40 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Wincent Colaiuta, (Thu Mar 18, 12:40 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Martin Langhoff, (Thu Mar 18, 12:42 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Thu Mar 18, 12:47 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 12:47 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 12:50 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Linus Torvalds, (Thu Mar 18, 12:52 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Wincent Colaiuta, (Thu Mar 18, 12:52 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Martin Langhoff, (Thu Mar 18, 2:19 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Martin Langhoff, (Thu Mar 18, 2:39 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Martin Langhoff, (Thu Mar 18, 2:55 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, A Large Angry SCM, (Thu Mar 18, 3:17 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Martin Langhoff, (Thu Mar 18, 3:36 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Sitaram Chamarty, (Thu Mar 18, 7:47 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Haggerty, (Fri Mar 19, 1:41 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Wincent Colaiuta, (Fri Mar 19, 6:41 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Haggerty, (Fri Mar 19, 7:08 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Martin Langhoff, (Fri Mar 19, 7:13 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael J Gruber, (Fri Mar 19, 7:52 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael J Gruber, (Fri Mar 19, 8:26 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Fri Mar 19, 10:06 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Fri Mar 19, 10:16 am)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Junio C Hamano, (Fri Mar 19, 12:39 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Jakub Narebski, (Fri Mar 19, 5:21 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Erik Faye-Lund, (Wed Mar 24, 12:18 pm)
Re: What's in a name? Let's use a (uuid,name,email) triplet, Michael Witten, (Wed Mar 24, 12:23 pm)