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@xxxxxxxxxxxxxx> --- On Sun, Apr 27, 2008 at 12:53:34PM +0100, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > > Yes and no. :-) I first searched for a --cc option in send-email, > > then > > realized that only format-patch has one. > > You are completely correct, sorry. Hmm. I would have preferred > send-email inserting that header, oh well. Heh, no. git-send-email has a --cc option as well, just it was not configurable. Here is a one-liner which does the trick. git-send-email.perl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index 9e568bf..cb05cf5 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, -- 1.5.5.1 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html