Add 'git format-patch --to=' option and 'format.to' configuration variable.
authorSteven Drake <sdrake@xnet.co.nz>
Tue, 16 Feb 2010 23:39:34 +0000 (12:39 +1300)
committerJunio C Hamano <gitster@pobox.com>
Sun, 7 Mar 2010 03:57:44 +0000 (19:57 -0800)
commitae6c098f158dd306462024c5cb137b8f7f65cfbd
treed6e41a6cfeb592cf2f41bfc86c7403827c73280b
parente923eaeb901ff056421b9007adcbbce271caa7b6
Add 'git format-patch --to=' option and 'format.to' configuration variable.

Has the same functionality as the '--cc' option and 'format.cc'
configuration variable but for the "To:" email header.  Half of the code to
support this was already there.

With email the To: header usually more important than the Cc: header.

[jc: tests are by Stephen Boyd]

Signed-off-by: Steven Drake <sdrake@xnet.co.nz>
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-format-patch.txt
builtin-log.c
t/t4014-format-patch.sh