git-send-email smtpEncryption option is case sensitive (silently fails if "TLS" is specified)

From: Benjamin Berg <hidden>
Date: 2017-05-15 12:02:34

Hi,

I just spend some time figuring out that my newly written git-send-
email configuration didn't work because setting

[sendemail]
    smtpEncryption = TLS

has no effect. This is because the option has to be specified as "tls".
Unfortunately there is no warning that "TLS" is unsupported making it
hard to see why authentication is failing in the end.

I think it would be helpful to have a warning. Additionally one could
also normalize the option to lowercase automatically.

Regards,
Benjamin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help