diff options
author | Jari Aalto <jari.aalto@cante.net> | 2010-03-14 17:15:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-14 13:02:47 -0700 |
commit | e5afb3a6f96e4d3a8733fbeee2c3cb44829e386b (patch) | |
tree | 302ec4bc5443c96653ca8ee1612c3fc905e72d5b /git-send-email.perl | |
parent | Merge branch 'maint' (diff) | |
download | tgif-e5afb3a6f96e4d3a8733fbeee2c3cb44829e386b.tar.xz |
git-send-email.perl: improve error message in send_message()
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | git-send-email.perl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/git-send-email.perl b/git-send-email.perl index e05455f74c..221506c3ed 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -957,7 +957,10 @@ X-Mailer: git-send-email $gitversion } if (!$smtp) { - die "Unable to initialize SMTP properly. Is there something wrong with your config?"; + die "Unable to initialize SMTP properly. Check config. ", + "VALUES: server=$smtp_server ", + "encryption=$smtp_encryption ", + defined $smtp_server_port ? "port=$smtp_server_port" : ""; } if (defined $smtp_authuser) { |