summaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorThomas Rast <tr@thomasrast.ch>2013-12-01 22:48:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-12-04 19:45:27 (GMT)
commitd4d9653b5401b28dd88a84bd1bf1d269b8acccf6 (patch)
tree2173533a044a7c9ba04be0177b4f4348c8ec97bb /git-send-email.perl
parent2f93541d88fadd1ff5307d81c2c8921ee3eea058 (diff)
downloadgit-d4d9653b5401b28dd88a84bd1bf1d269b8acccf6.zip
git-d4d9653b5401b28dd88a84bd1bf1d269b8acccf6.tar.gz
git-d4d9653b5401b28dd88a84bd1bf1d269b8acccf6.tar.bz2
send-email: pass Debug to Net::SMTP::SSL::new
We forgot to pass the Debug option through to Net::SMTP::SSL->new -- which is the same as Net::SMTP->new. This meant that with security set to SSL, we would never enable debug output. Pass through the flag. Signed-off-by: Thomas Rast <tr@thomasrast.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 3782c3b..f7468b6 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -1217,6 +1217,7 @@ X-Mailer: git-send-email $gitversion
$smtp ||= Net::SMTP::SSL->new($smtp_server,
Hello => $smtp_domain,
Port => $smtp_server_port,
+ Debug => $debug_net_smtp,
ssl_verify_params());
}
else {