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

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

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Dec 19, 2018, 21:46 UTC
Message-ID
<20181219214651.GB228469@google.com>
In-Reply-To
<20181219183939.16358-1-williamh@gentoo.org>
Hi,
William Hubbs wrote:
> this is my first patch for git, so please be gentle. ;-)
Thanks for contributing!
Show 10 quoted lines
> 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.

The above information (except for "It applies to current master") is very useful to have when looking back at the change in history. When sending the next version of this patch in response to others' comments, can you replace the commit message with something like it?

In other words, it is very useful for the commit message to include this kind of information about the "why" behind a change, beyond the "what" that the patch itself already provides.

Show 6 quoted lines
> 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.

Fortunately, this is already common practice here, but the reminder is very welcome.

By the way, if you have other feedback about Git accessibility through a screen reader (both the project and the tool), I would be very interested to hear. Presumably in a new thread. :)

Thanks and hope that helps, Jonathan

Previous: Junio C Hamano
Message 6 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.