Skip to content

Commit

Permalink
send-email: expand path in sendemail.smtpsslcertpath config
Browse files Browse the repository at this point in the history
As it says in the name, the SSL certificate path is a path so treat it
as one and support tilde-expansion.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Jeff King <peff@peff.net>
  • Loading branch information
John Keeping authored and Jeff King committed Nov 20, 2015
1 parent 0c83680 commit 6e07a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ sub do_edit {
"smtpserveroption" => \@smtp_server_options,
"smtpuser" => \$smtp_authuser,
"smtppass" => \$smtp_authpass,
"smtpsslcertpath" => \$smtp_ssl_cert_path,
"smtpdomain" => \$smtp_domain,
"smtpauth" => \$smtp_auth,
"to" => \@initial_to,
Expand All @@ -259,6 +258,7 @@ sub do_edit {

my %config_path_settings = (
"aliasesfile" => \@alias_files,
"smtpsslcertpath" => \$smtp_ssl_cert_path,
);

# Handle Uncouth Termination
Expand Down

0 comments on commit 6e07a3b

Please sign in to comment.