From: Xavier Maillard <xma@gnu.org>
To: git@vger.kernel.org
Subject: [PATCH] Shorten and simplify sendemail.alias* configuration variables.
Date: Mon, 17 Mar 2008 23:53:04 +0100 [thread overview]
Message-ID: <1205794384-14513-1-git-send-email-xma@gnu.org> (raw)
I find it more consistent and less error prone to have aliasfile
instead of aliasesfile and aliastype instead of aliasfiletype.
Documentation is also updated to reflect the changes.
Signed-off-by: Xavier Maillard <xma@gnu.org>
---
Documentation/git-send-email.txt | 8 ++++----
git-send-email.perl | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 336d797..33fd589 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -192,12 +192,12 @@ sendemail.identity::
identities and to hoist sensitive authentication information
out of the repository and into the global configuration file.
-sendemail.aliasesfile::
+sendemail.aliasfile::
To avoid typing long email addresses, point this to one or more
- email aliases files. You must also supply 'sendemail.aliasfiletype'.
+ email aliases files. You must also supply 'sendemail.aliastype'.
-sendemail.aliasfiletype::
- Format of the file(s) specified in sendemail.aliasesfile. Must be
+sendemail.aliastype::
+ Format of the file(s) specified in sendemail.aliasfile. Must be
one of 'mutt', 'mailrc', 'pine', or 'gnus'.
sendemail.to::
diff --git a/git-send-email.perl b/git-send-email.perl
index be4a20d..1d8bb8e 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -203,9 +203,9 @@ my %config_settings = (
"smtppass" => \$smtp_authpass,
"to" => \@to,
"cccmd" => \$cc_cmd,
- "aliasfiletype" => \$aliasfiletype,
+ "aliastype" => \$aliasfiletype,
"bcc" => \@bcclist,
- "aliasesfile" => \@alias_files,
+ "aliasfile" => \@alias_files,
"suppresscc" => \@suppress_cc,
);
--
1.5.4.4.685.g64f14.dirty
next reply other threads:[~2008-03-17 23:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-17 22:53 Xavier Maillard [this message]
2008-03-18 8:13 ` [PATCH] Shorten and simplify sendemail.alias* configuration variables Frank Lichtenheld
2008-03-19 1:00 ` Xavier Maillard
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=1205794384-14513-1-git-send-email-xma@gnu.org \
--to=xma@gnu.org \
--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).