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

Re: enhancement: support for author.email and author.name in "git config"

From
MÅMartin Ågren <martin.agren@gmail.com>
Date
Dec 6, 2018, 18:38 UTC
Message-ID
<CAN0heSp2g0A82YYvMw-RaERESXFtj3TgPKA3RysC07Lf=tHBcg@mail.gmail.com>
In-Reply-To
<20181206181739.GB30045@whubbs1.gaikai.biz>
Hi William,
On Thu, 6 Dec 2018 at 19:18, William Hubbs <williamh@gentoo.org> wrote:
> We are in a situation where we would like to use author information that is
> different from committer information when we commit to certain
> repositories.
[...]
Show 7 quoted lines
> [...] I would like to propose the addition of author.email and
> author.name settings to the git-config system.
>
> Additionally you could add committer.name and committer.email, but the
> only reason I bring the committer variations up is consistency since I
> see you also have GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment
> variables.

This idea was floated a couple of months ago [1]. Junio seemed to find the request sensible and outlined a design. No patches materialized, as far as I know, but that could be because Eric suggested a tool called direnv. Maybe that would work for you.

[1] https://public-inbox.org/git/0f66ad7a-2289-2cce-6533-a27e19945187@rasmusvillemoes.dk/
Martin
Previous: William HubbsNext: William Hubbs
Message 2 of 8 in “enhancement: support for author.email and author.name in "git config"”
  1. William HubbsDec 6, 2018
  2. Martin ÅgrenDec 6, 2018
  3. William HubbsDec 6, 2018
  4. Johannes SchindelinDec 6, 2018
  5. William HubbsDec 7, 2018
  6. Jonathan NiederDec 7, 2018
  7. William HubbsDec 13, 2018
  8. Jonathan NiederDec 13, 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.