From: John Keeping Date: Tue, 17 Nov 2015 22:01:05 +0000 (+0000) Subject: send-email: expand path in sendemail.smtpsslcertpath config X-Git-Tag: v2.7.0-rc0~24^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6e07a3b51b43ce0b573f5411524ad4fd423eaf75 send-email: expand path in sendemail.smtpsslcertpath config 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 Signed-off-by: Jeff King --- diff --git a/git-send-email.perl b/git-send-email.perl index e907e0eacf..719c715360 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -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, @@ -259,6 +258,7 @@ sub do_edit { my %config_path_settings = ( "aliasesfile" => \@alias_files, + "smtpsslcertpath" => \$smtp_ssl_cert_path, ); # Handle Uncouth Termination