From: John Keeping <john@keeping.me.uk>
To: git@vger.kernel.org
Cc: John Keeping <john@keeping.me.uk>
Subject: [PATCH 2/2] send-email: expand paths in sendemail.{to,cc}cmd config
Date: Tue, 17 Nov 2015 22:01:06 +0000 [thread overview]
Message-ID: <db0b817c4be57635248a48a529a32719ad232f02.1447797487.git.john@keeping.me.uk> (raw)
In-Reply-To: <cover.1447797487.git.john@keeping.me.uk>
In-Reply-To: <cover.1447797487.git.john@keeping.me.uk>
These configuration variables specify the paths to commands so we should
support tilde-expansion for files inside a user's home directory.
Signed-off-by: John Keeping <john@keeping.me.uk>
---
git-send-email.perl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git-send-email.perl b/git-send-email.perl
index 719c715..8e4c0e1 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -242,9 +242,7 @@ my %config_settings = (
"smtpdomain" => \$smtp_domain,
"smtpauth" => \$smtp_auth,
"to" => \@initial_to,
- "tocmd" => \$to_cmd,
"cc" => \@initial_cc,
- "cccmd" => \$cc_cmd,
"aliasfiletype" => \$aliasfiletype,
"bcc" => \@bcclist,
"suppresscc" => \@suppress_cc,
@@ -259,6 +257,8 @@ my %config_settings = (
my %config_path_settings = (
"aliasesfile" => \@alias_files,
"smtpsslcertpath" => \$smtp_ssl_cert_path,
+ "tocmd" => \$to_cmd,
+ "cccmd" => \$cc_cmd,
);
# Handle Uncouth Termination
--
2.6.3.462.gbe2c914
next prev parent reply other threads:[~2015-11-18 0:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-17 22:01 [PATCH 0/2] send-email config path expansion John Keeping
2015-11-17 22:01 ` [PATCH 1/2] send-email: expand path in sendemail.smtpsslcertpath config John Keeping
2015-11-17 22:01 ` John Keeping [this message]
2015-11-24 0:04 ` [PATCH 2/2] send-email: expand paths in sendemail.{to,cc}cmd config Eric Sunshine
2015-11-24 8:43 ` John Keeping
2015-11-24 22:23 ` Jeff King
2015-11-24 22:58 ` John Keeping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=db0b817c4be57635248a48a529a32719ad232f02.1447797487.git.john@keeping.me.uk \
--to=john@keeping.me.uk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).