projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
809780b
)
git-send-email.perl: improve error message in send_message()
author
Jari Aalto
<jari.aalto@cante.net>
Sun, 14 Mar 2010 15:15:33 +0000
(17:15 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 14 Mar 2010 20:02:47 +0000
(13:02 -0700)
Signed-off-by: Jari Aalto <jari.aalto@cante.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
patch
|
blob
|
history
diff --git
a/git-send-email.perl
b/git-send-email.perl
index e05455f74c7e23c28cae41b68fa80df87c633ce9..221506c3ed8b55eeb64dc0e01298a0b5d7bf4085 100755
(executable)
--- 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) {