git-send-email: add a new sendemail.to configuration variable

Some projects prefer to receive patches via a given email address.
In these cases, it's handy to configure that address once.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Miklos Vajna 2007-10-01 14:42:42 +02:00 committed by Junio C Hamano
parent 8d863c98b2
commit 2db9b49c6c
2 changed files with 4 additions and 0 deletions

View file

@ -159,6 +159,9 @@ sendemail.aliasfiletype::
Format of the file(s) specified in sendemail.aliasesfile. Must be Format of the file(s) specified in sendemail.aliasesfile. Must be
one of 'mutt', 'mailrc', 'pine', or 'gnus'. one of 'mutt', 'mailrc', 'pine', or 'gnus'.
sendemail.to::
Email address (or alias) to always send to.
sendemail.cccmd:: sendemail.cccmd::
Command to execute to generate per patch file specific "Cc:"s. Command to execute to generate per patch file specific "Cc:"s.

View file

@ -191,6 +191,7 @@ sub format_2822_time {
"smtpserverport" => \$smtp_server_port, "smtpserverport" => \$smtp_server_port,
"smtpuser" => \$smtp_authuser, "smtpuser" => \$smtp_authuser,
"smtppass" => \$smtp_authpass, "smtppass" => \$smtp_authpass,
"to" => \@to,
"cccmd" => \$cc_cmd, "cccmd" => \$cc_cmd,
"aliasfiletype" => \$aliasfiletype, "aliasfiletype" => \$aliasfiletype,
"bcc" => \@bcclist, "bcc" => \@bcclist,