Re: Email address from username and hostname preferred over $EMAIL
Yes, ec563e8153cba89728a271a26c8a94e7a42d8152 made user.email take precedence over $EMAIL, but it also made the constructed email address take precedence over $EMAIL. It made fmt_ident prefer git_default_email to $EMAIL, and git_default_email is set to the constructed email address by setup_ident if it's not already set by user.email.
Pierre Habouzit <madcoder@debian.org> 07/05/2007 01:21 PM
To
mkraai@beckman.com
cc
git@vger.kernel.org
Subject
Re: Email address from username and hostname preferred over $EMAIL
On Thu, Jul 05, 2007 at 10:57:37AM -0700, mkraai@beckman.com wrote:
Show 6 quoted lines
> Howdy,
>
> Git prefers to use an email address constructed from the username and
> hostname to the value of the EMAIL environment variable. I think it
> should prefer the latter to the former. This problem was introduced by
> ec563e8153cba89728a271a26c8a94e7a42d8152.
no, ec563e8153cba89728a271a26c8a94e7a42d8152 is about making the
emails and usernames be taken from EMAIL iff there is none specified in
the different .gitconfig's (which is sane as $EMAIL is a system wide
default setting and that .git/config is definitely meant as an ovveride
of that setting).
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org
The server made the following annotations
---------------------------------------------------------------------------------
This message contains information that may be privileged or confidential and is the property of Beckman Coulter, Inc. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
---------------------------------------------------------------------------------