Re: enhancement: support for author.email and author.name in "git config"
- From
- 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