From e1e9115dcd647ce59f4ce7501ec1ee84aa574aab Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Mon, 6 Sep 2010 20:12:09 +0200 Subject: [PATCH 1/3] Minor indentation fix. Signed-off-by: Pascal Obry Signed-off-by: Junio C Hamano --- git-send-email.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-send-email.perl b/git-send-email.perl index 6dab3bf6a7..0063606b55 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -212,7 +212,7 @@ my %config_settings = ( "smtpserverport" => \$smtp_server_port, "smtpuser" => \$smtp_authuser, "smtppass" => \$smtp_authpass, - "smtpdomain" => \$smtp_domain, + "smtpdomain" => \$smtp_domain, "to" => \@to, "cc" => \@initial_cc, "cccmd" => \$cc_cmd, From 1d02a0055a01478d6253c405b346297bd4217bb1 Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Mon, 6 Sep 2010 20:12:10 +0200 Subject: [PATCH 2/3] Remove @smtp_host_parts variable as not used. Signed-off-by: Pascal Obry Signed-off-by: Junio C Hamano --- git-send-email.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-send-email.perl b/git-send-email.perl index 0063606b55..39cb5afe28 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -189,7 +189,7 @@ sub do_edit { # Variables with corresponding config settings my ($thread, $chain_reply_to, $suppress_from, $signed_off_by_cc, $cc_cmd); my ($smtp_server, $smtp_server_port, $smtp_authuser, $smtp_encryption); -my ($identity, $aliasfiletype, @alias_files, @smtp_host_parts, $smtp_domain); +my ($identity, $aliasfiletype, @alias_files, $smtp_domain); my ($validate, $confirm); my (@suppress_cc); my ($auto_8bit_encoding); From 052fbea26e51121d155ccaa3b0ae6ac892cc41ea Mon Sep 17 00:00:00 2001 From: Pascal Obry Date: Mon, 6 Sep 2010 20:12:11 +0200 Subject: [PATCH 3/3] New send-email option smtpserveroption. The new command line parameter --smtp-server-option or default configuration sendemail.smtpserveroption can be used to pass specific options to the SMTP server. Update the documentation accordingly. Signed-off-by: Pascal Obry Signed-off-by: Junio C Hamano --- Documentation/config.txt | 1 + Documentation/git-send-email.txt | 9 +++++++++ git-send-email.perl | 8 +++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/config.txt b/Documentation/config.txt index cda6721013..bb8db24c6f 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1717,6 +1717,7 @@ sendemail.to:: sendemail.smtpdomain:: sendemail.smtpserver:: sendemail.smtpserverport:: +sendemail.smtpserveroption:: sendemail.smtpuser:: sendemail.thread:: sendemail.validate:: diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt index c283084272..cde404a461 100644 --- a/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt @@ -165,6 +165,15 @@ user is prompted for a password while the input is masked for privacy. are also accepted. The port can also be set with the 'sendemail.smtpserverport' configuration variable. +--smtp-server-option=