Skip to content

Commit 2db9b49

Browse files
Miklos Vajnagitster
authored andcommitted
git-send-email: add a new sendemail.to configuration variable
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>
1 parent 8d863c9 commit 2db9b49

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Documentation/git-send-email.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ sendemail.aliasfiletype::
159159
Format of the file(s) specified in sendemail.aliasesfile. Must be
160160
one of 'mutt', 'mailrc', 'pine', or 'gnus'.
161161

162+
sendemail.to::
163+
Email address (or alias) to always send to.
164+
162165
sendemail.cccmd::
163166
Command to execute to generate per patch file specific "Cc:"s.
164167

git-send-email.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ sub format_2822_time {
191191
"smtpserverport" => \$smtp_server_port,
192192
"smtpuser" => \$smtp_authuser,
193193
"smtppass" => \$smtp_authpass,
194+
"to" => \@to,
194195
"cccmd" => \$cc_cmd,
195196
"aliasfiletype" => \$aliasfiletype,
196197
"bcc" => \@bcclist,

0 commit comments

Comments
 (0)