Skip to content

Commit

Permalink
git-send-email: add a new sendemail.to configuration variable
Browse files Browse the repository at this point in the history
Some projects prefer to receive patches via a given email address.
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>
  • Loading branch information
Miklos Vajna authored and Junio C Hamano committed Oct 25, 2007
1 parent 8d863c9 commit 2db9b49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/git-send-email.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ sendemail.aliasfiletype::
Format of the file(s) specified in sendemail.aliasesfile. Must be
one of 'mutt', 'mailrc', 'pine', or 'gnus'.

sendemail.to::
Email address (or alias) to always send to.

sendemail.cccmd::
Command to execute to generate per patch file specific "Cc:"s.

Expand Down
1 change: 1 addition & 0 deletions git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ sub format_2822_time {
"smtpserverport" => \$smtp_server_port,
"smtpuser" => \$smtp_authuser,
"smtppass" => \$smtp_authpass,
"to" => \@to,
"cccmd" => \$cc_cmd,
"aliasfiletype" => \$aliasfiletype,
"bcc" => \@bcclist,
Expand Down

0 comments on commit 2db9b49

Please sign in to comment.