Code

Allow config file to specify Signed-off-by identity in format-patch.
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Fri, 4 Aug 2006 21:01:30 +0000 (22:01 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 5 Aug 2006 00:30:24 +0000 (17:30 -0700)
commit07efc6a6b6e5098ccd2dcce853be421b7dd1e244
tree7761e9462e63de828545566060f53242e074f854
parent4e273c9dcfe8e898ea43b17213c47733a4fef842
Allow config file to specify Signed-off-by identity in format-patch.

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.

Signed-off-by: Ramsay Allan Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-log.c