git-send-email: add a new sendemail.cc configuration variable
authorMiklos Vajna <vmiklos@frugalware.org>
Sun, 27 Apr 2008 12:14:58 +0000 (14:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Apr 2008 02:56:26 +0000 (19:56 -0700)
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>
git-send-email.perl

index 9e568bf9c012b610fd8db7e4444cb7ff8c6e0a0f..cb05cf5b9ebc41c6d95067037605154c5a83e9b1 100755 (executable)
@@ -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,