# [PATCH] git-send-email: add a new sendemail.to configuration variable

3 messages from 2007-10-01 to 2007-10-24. Participants: Miklos Vajna.
Thread: https://gitlist.dev/t/10104

## Miklos Vajna, 2007-10-01 12:42

Subject: [PATCH] git-send-email: add a new sendemail.to configuration variable
Message-ID: <1191242562-27486-1-git-send-email-vmiklos@frugalware.org>
URL: https://gitlist.dev/e/1191242562-27486-1-git-send-email-vmiklos%40frugalware.org

```
Several projects prefers 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>
---
 Documentation/git-send-email.txt |    3 +++
 git-send-email.perl              |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 3727776..e38b702 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -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.
 
diff --git a/git-send-email.perl b/git-send-email.perl
index 62e1429..96051bc 100755
--- a/git-send-email.perl
+++ b/git-send-email.perl
@@ -191,6 +191,7 @@ my %config_settings = (
     "smtpserverport" => \$smtp_server_port,
     "smtpuser" => \$smtp_authuser,
     "smtppass" => \$smtp_authpass,
+    "to" => \@to,
     "cccmd" => \$cc_cmd,
     "aliasfiletype" => \$aliasfiletype,
     "bcc" => \@bcclist,
-- 
1.5.3.2.111.g5166-dirty

```

## Miklos Vajna, 2007-10-16 20:05

Subject: Re: [PATCH] git-send-email: add a new sendemail.to configuration variable
Message-ID: <20071016200547.GR23810@genesis.frugalware.org>
URL: https://gitlist.dev/e/20071016200547.GR23810%40genesis.frugalware.org
In-Reply-To: <1191242562-27486-1-git-send-email-vmiklos@frugalware.org>

```
On Mon, Oct 01, 2007 at 02:42:42PM +0200, Miklos Vajna <vmiklos@frugalware.org> wrote:
> Several projects prefers to receive patches via a given email address. In these
> cases it's handy to configure that address once.

could somebody please comment this patch? does it look ok?

thanks,
- VMiklos

```

## Miklos Vajna, 2007-10-24 21:16

Subject: Re: [PATCH] git-send-email: add a new sendemail.to configuration variable
Message-ID: <20071024211654.GT23810@genesis.frugalware.org>
URL: https://gitlist.dev/e/20071024211654.GT23810%40genesis.frugalware.org
In-Reply-To: <1191242562-27486-1-git-send-email-vmiklos@frugalware.org>

```
Hello,

On Mon, Oct 01, 2007 at 02:42:42PM +0200, Miklos Vajna <vmiklos@frugalware.org> wrote:
> Several projects prefers to receive patches via a given email address. In these
> cases it's handy to configure that address once.

I'm just replying again to this patch, I think it was forgotten in the
recent flurry of patches... :)

thanks,
- VMiklos

```
