aboutsummaryrefslogtreecommitdiff
path: root/git-send-email.perl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-04-27 14:14:58 +0200
committerJunio C Hamano <gitster@pobox.com>2008-04-29 19:56:26 -0700
commit5f8b9fcd03af09fd7c55407af1f26833728278c2 (patch)
tree86a45337e94df43ab9301db4b201c485d98527d1 /git-send-email.perl
parentfe8928e6e802f8519e133f085783fb664f1a0d6b (diff)
downloadgit-5f8b9fcd03af09fd7c55407af1f26833728278c2.tar.gz
git-5f8b9fcd03af09fd7c55407af1f26833728278c2.tar.xz
git-send-email: add a new sendemail.cc configuration variable
Some projects prefer to always CC patches to a given mailing list. In these cases, it's handy to configure that address once. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-xgit-send-email.perl1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-send-email.perl b/git-send-email.perl
index 9e568bf9c..cb05cf5b9 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -203,6 +203,7 @@ my %config_settings = (
"smtpuser" => \$smtp_authuser,
"smtppass" => \$smtp_authpass,
"to" => \@to,
+ "cc" => \@initial_cc,
"cccmd" => \$cc_cmd,
"aliasfiletype" => \$aliasfiletype,
"bcc" => \@bcclist,