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

Re: feature request: allow commit.email config setting

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 30, 2018, 15:31 UTC
Message-ID
<xmqq8t4n7twg.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<0f66ad7a-2289-2cce-6533-a27e19945187@rasmusvillemoes.dk>
Rasmus Villemoes <rv@rasmusvillemoes.dk> writes:
> ... I can set GIT_COMMITTER_EMAIL in the environment, but that is
> rather inconvenient, since that means I have to remember to do that in
> the shell I'm using for that particular project, and I can't use that
> shell for other projects.

We only have user.email and user.name because nobody in the past 10+ years had such a requirement, but I find it it a perfectly sensible thing to wish to say "tagger.email and tagger.name are used while creating an annotated tag, committer.email and committer.name are used on the 'committer' line and author.email and author.name are used on the 'author' line in a newly created commit; by the way, if any of these are not set, but user.email or user.name is set, then they are used as fallback values." at the design level.

Previous: Rasmus VillemoesNext: Eric Sunshine
Message 2 of 4 in “feature request: allow commit.email config setting”
  1. Rasmus VillemoesAug 30, 2018
  2. Junio C HamanoAug 30, 2018
  3. Eric SunshineAug 30, 2018
  4. Rasmus VillemoesAug 30, 2018

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.