From: William Hubbs <williamh@gentoo.org>
To: git@vger.kernel.org
Cc: williamh@gentoo.org, chutzpah@gentoo.org
Subject: [PATCH 0/1] add author and committer configuration settings
Date: Wed, 19 Dec 2018 12:39:38 -0600 [thread overview]
Message-ID: <20181219183939.16358-1-williamh@gentoo.org> (raw)
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 reply other threads:[~2018-12-19 18:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-19 18:39 William Hubbs [this message]
2018-12-19 18:39 ` [PATCH 1/1] Add author and committer configuration settings William Hubbs
2018-12-19 20:05 ` John Passaro
2018-12-21 12:15 ` Johannes Schindelin
2019-01-02 22:57 ` Junio C Hamano
2018-12-19 21:46 ` [PATCH 0/1] add " Jonathan Nieder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181219183939.16358-1-williamh@gentoo.org \
--to=williamh@gentoo.org \
--cc=chutzpah@gentoo.org \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).