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

[PATCH 0/1] add author and committer configuration settings

From
William Hubbs <williamh@gentoo.org>
Date
Dec 19, 2018, 18:39 UTC
Message-ID
<20181219183939.16358-1-williamh@gentoo.org>
Hi all,
this is my first patch for git, so please be gentle. ;-)

I am in a situation where I need to use different authorship information for some repositories I commit to.

Git already supports setting different authorship and committer information with environment variables, but this setting is global so if you want to change it per repository you need to use a separate tool.

This patch adds support to git config for author.email, author.name, committer.email and committer.name settings so this information can be set per repository. It applies to current master.

Thanks much for your reviews, and I would like to publically thank dscho from #git-devel for assisting me in preparing this patch.

Also, since I use a screen reader, it would be very helpful if you put your comments in your replies as close to the affected code as possible, preferably directly below it.

William Hubbs (1):
  Add author and committer configuration settings
 Documentation/config/user.txt | 20 +++++++++++
 builtin/commit.c              |  2 +-
 cache.h                       |  5 ++-
 config.c                      |  6 ++++
 ident.c                       | 68 ++++++++++++++++++++++++++++++++---
 log-tree.c                    |  3 +-
 sequencer.c                   |  3 +-
 7 files changed, 97 insertions(+), 10 deletions(-)
-- 
2.19.2
Next: William Hubbs
Message 1 of 6 in “add author and committer configuration settings”
  1. 0/1 add author and committer configuration settingsWilliam Hubbs, Dec 19, 2018
  2. 1/1 Add author and committer configuration settingsWilliam Hubbs, Dec 19, 2018
  3. John PassaroDec 19, 2018
  4. Johannes SchindelinDec 21, 2018
  5. Junio C HamanoJan 2, 2019
  6. Jonathan NiederDec 19, 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.