git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Email address from username and hostname preferred over $EMAIL

From
Mmkraai@beckman.com <mkraai@beckman.com>
Date
Jul 5, 2007, 20:48 UTC
Message-ID
<OFFAD14F99.03920E32-ON8825730F.006FFB5F-8825730F.00725068@beckman.com>
In-Reply-To
<20070705202140.GA24349@artemis.corp>

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.

---------------------------------------------------------------------------------
Previous: Pierre HabouzitNext: Linus Torvalds
Message 3 of 8 in “Email address from username and hostname preferred over $EMAIL”
  1. mkraai@beckman.comJul 5, 2007
  2. Pierre HabouzitJul 5, 2007
  3. mkraai@beckman.comJul 5, 2007
  4. Linus TorvaldsJul 5, 2007
  5. Brandon CaseyJul 6, 2007
  6. Junio C HamanoJul 6, 2007
  7. Brandon CaseyJul 6, 2007
  8. Josh TriplettJul 6, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.