summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fef9e2)
raw | patch | inline | side by side (parent: 9fef9e2)
author | Cord Seele <cowose@googlemail.com> | |
Fri, 30 Sep 2011 10:52:25 +0000 (12:52 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 30 Sep 2011 19:35:00 +0000 (12:35 -0700) |
Signed-off-by: Cord Seele <cowose@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl | patch | blob | history |
diff --git a/git-send-email.perl b/git-send-email.perl
index 98ab33aae7e35c2d288bc34ddb2bbc71f8a16cdd..f17f7b3995c833d0434a258e18f6aa2d5568637e 100755 (executable)
--- a/git-send-email.perl
+++ b/git-send-email.perl
"cccmd" => \$cc_cmd,
"aliasfiletype" => \$aliasfiletype,
"bcc" => \@bcclist,
- "aliasesfile" => \@alias_files,
"suppresscc" => \@suppress_cc,
"envelopesender" => \$envelope_sender,
"multiedit" => \$multiedit,
"assume8bitencoding" => \$auto_8bit_encoding,
);
+my %config_path_settings = (
+ "aliasesfile" => \@alias_files,
+);
+
# Help users prepare for 1.7.0
sub chain_reply_to {
if (defined $chain_reply_to &&
$$target = Git::config_bool(@repo, "$prefix.$setting") unless (defined $$target);
}
+ foreach my $setting (keys %config_path_settings) {
+ my $target = $config_path_settings{$setting}->[0];
+ $$target = Git::config_path(@repo, "$prefix.$setting") unless (defined $$target);
+ }
+
foreach my $setting (keys %config_settings) {
my $target = $config_settings{$setting};
next if $setting eq "to" and defined $no_to;