git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* enhancement: support for author.email and author.name in "git config"
@ 2018-12-06 18:17 William Hubbs
  2018-12-06 18:38 ` Martin Ågren
  0 siblings, 1 reply; 8+ messages in thread
From: William Hubbs @ 2018-12-06 18:17 UTC (permalink / raw)
  To: git; +Cc: chutzpah, williamh

Hi all,

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.

Currently, it looks like there are two ways to do this, and I'm not sure
how to make either of them work well.

There are the GIT_AUTHOR_EMAIL and GIT_AUTHOR_NAME environment
variables, but  these would have to be set globally. Also, there is the
--author command line switch for the "git commit" command, but this is
easy to forget to use.

Is there something I'm missing?

If not, 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.

Does anyone have any thoughts on this?

I don't think either of us is on the mailing list, so please keep us in
CC's when you reply.

Thanks,

William

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-13 19:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-06 18:17 enhancement: support for author.email and author.name in "git config" William Hubbs
2018-12-06 18:38 ` Martin Ågren
2018-12-06 19:17   ` William Hubbs
2018-12-06 22:20     ` Johannes Schindelin
2018-12-07 22:21       ` William Hubbs
2018-12-07 22:44         ` Jonathan Nieder
2018-12-13 19:29           ` William Hubbs
2018-12-13 19:37             ` Jonathan Nieder

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).