diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2007-10-01 14:42:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-10-24 20:13:07 -0700 |
commit | 2db9b49c6c19d3edaa3c20147f7d9f29588433df (patch) | |
tree | 2dc3fdbdfdb954217594fb5ceabb25cde61188da | |
parent | 8d863c98b2f9b0d3777227b85b13b4095dd0f6dc (diff) | |
download | git-2db9b49c6c19d3edaa3c20147f7d9f29588433df.tar.gz |
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>
-rw-r--r-- | Documentation/git-send-email.txt | 3 | ||||
-rwxr-xr-x | git-send-email.perl | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt index 3727776a0b..e38b7021b4 100644 --- a/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt @@ -159,6 +159,9 @@ sendemail.aliasfiletype:: Format of the file(s) specified in sendemail.aliasesfile. Must be one of 'mutt', 'mailrc', 'pine', or 'gnus'. +sendemail.to:: + Email address (or alias) to always send to. + sendemail.cccmd:: Command to execute to generate per patch file specific "Cc:"s. diff --git a/git-send-email.perl b/git-send-email.perl index 62e1429733..96051bc01e 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -191,6 +191,7 @@ my %config_settings = ( "smtpserverport" => \$smtp_server_port, "smtpuser" => \$smtp_authuser, "smtppass" => \$smtp_authpass, + "to" => \@to, "cccmd" => \$cc_cmd, "aliasfiletype" => \$aliasfiletype, "bcc" => \@bcclist, |