From d4d9653b5401b28dd88a84bd1bf1d269b8acccf6 Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Sun, 1 Dec 2013 23:48:41 +0100 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- git-send-email.perl | 1 + 1 file changed, 1 insertion(+) diff --git a/git-send-email.perl b/git-send-email.perl index 3782c3b0cb..f7468b6366 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 { -- 2.11.4.GIT