diff options
author | Brian M. Carlson <sandals@crustytoothpaste.net> | 2013-09-08 20:54:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-10 08:49:22 -0700 |
commit | 6cb0c883052118c35e424af7a311c66be9b366e1 (patch) | |
tree | 3d46d0599c9589aab3b3b1ea26c94ab4ad333ccb /t/t6030-bisect-porcelain.sh | |
parent | Merge branch 'rr/send-email-ssl-verify' (diff) | |
download | tgif-6cb0c883052118c35e424af7a311c66be9b366e1.tar.xz |
send-email: don't call methods on undefined values
If SSL verification is enabled in git send-email, we could attempt to call a
method on an undefined value if the verification failed, since $smtp would end
up being undef. Look up the error string in a way that will produce a helpful
error message and not cause further errors.
Signed-off-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6030-bisect-porcelain.sh')
0 files changed, 0 insertions, 0 deletions