Re: [PATCH] Allow config file to specify Signed-off-by identity in format-patch.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 4, 2006, 22:56 UTC
- Message-ID
- <Pine.LNX.4.63.0608050055090.1800@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <000001c6b809$2919a200$c47eedc1@ramsay1.demon.co.uk>
On Fri, 4 Aug 2006, Ramsay Jones wrote:
Show 6 quoted lines
> Unlike git-commit, git-format-patch was not picking up and using the > user.email config variable for the email part of the committer info. > I was forced to use the GIT_COMMITTER_EMAIL environment variable to > override the default <user@localhost.localdomain>. The fix was to > simply move the call to setup_ident() to come before the git_config() > call.
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
I _always_ use environment variables, since the $HOME/.gitconfig is a pretty recent addition. Therefore, I completely missed that one.
Ciao, Dscho