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

Re: What's cooking in git.git (Jan 2010, #05; Sat, 16)

From
Jeff King <peff@peff.net>
Date
Jan 17, 2010, 19:40 UTC
Message-ID
<20100117194036.GC31536@coredump.intra.peff.net>
In-Reply-To
<7vljfxa1o6.fsf@alter.siamese.dyndns.org>
On Sat, Jan 16, 2010 at 06:46:33PM -0800, Junio C Hamano wrote:
Show 7 quoted lines
> * jc/ident (2010-01-08) 3 commits
>  - ident.c: treat $EMAIL as giving user.email identity explicitly
>   (merged to 'next' on 2010-01-10 at f1f9ded)
>  + ident.c: check explicit identity for name and email separately
>  + ident.c: remove unused variables
> 
> Opinions on the topmost one?

I don't see a problem with the top one as long as the order is (in order of decreasing precedence):

  1. GIT_*_EMAIL
  2. git config
  3. EMAIL
  4. `whoami`@`hostname`

which from my tests seems to be the case. That is, even though environment variables generally take precedence over config, git-specific environment variables and config take precedence over generic config.

Otherwise I think we may surprise some people who have EMAIL set.
-Peff
Previous: Junio C HamanoNext: Jakub Narebski
Message 2 of 5 in “What's cooking in git.git (Jan 2010, #05; Sat, 16)”
  1. Junio C HamanoJan 17, 2010
  2. Jeff KingJan 17, 2010
  3. Jakub NarebskiJan 18, 2010
  4. Junio C HamanoJan 18, 2010
  5. Avery PennarunJan 28, 2010

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.