Skip to content

Commit 979e652

Browse files
trastgitster
authored andcommitted
send-email: --smtp-ssl-cert-path takes an argument
35035bb (send-email: be explicit with SSL certificate verification, 2013-07-18) forgot to specify that --smtp-ssl-cert-path takes a string argument. This means that the option could not actually be used as intended. Presumably noone noticed because it's much easier to set it through configs anyway. Add the required "=s". Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d4d9653 commit 979e652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-send-email.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ sub signal_handler {
291291
"smtp-pass:s" => \$smtp_authpass,
292292
"smtp-ssl" => sub { $smtp_encryption = 'ssl' },
293293
"smtp-encryption=s" => \$smtp_encryption,
294-
"smtp-ssl-cert-path" => \$smtp_ssl_cert_path,
294+
"smtp-ssl-cert-path=s" => \$smtp_ssl_cert_path,
295295
"smtp-debug:i" => \$debug_net_smtp,
296296
"smtp-domain:s" => \$smtp_domain,
297297
"identity=s" => \$identity,

0 commit comments

Comments
 (0)