# [PATCH] doc/git-send-email: mention sendemail.cc config variable

6 messages from 2008-12-28 to 2009-01-02. Participants: Markus Heidelberg, Thomas Rast, Junio C Hamano.
Thread: https://gitlist.dev/t/16899

## Markus Heidelberg, 2008-12-28 23:37

Subject: [PATCH] doc/git-send-email: mention sendemail.cc config variable
Message-ID: <200812290037.25890.markus.heidelberg@web.de>
URL: https://gitlist.dev/e/200812290037.25890.markus.heidelberg%40web.de

```
This variable was added in 5f8b9fc (git-send-email: add a new
sendemail.cc configuration variable, 2008-04-27), but is not yet refered
to by the documentation.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 Documentation/git-send-email.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index b69846e..ff4aeff 100644
--- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt
@@ -34,6 +34,7 @@ The --bcc option must be repeated for each user you want on the bcc list.
 
 --cc::
 	Specify a starting "Cc:" value for each email.
+	Default is the value of 'sendemail.cc'.
 +
 The --cc option must be repeated for each user you want on the cc list.
 
-- 
1.6.1.21.g0298

```

## Thomas Rast, 2008-12-29 13:00

Subject: Re: [PATCH] doc/git-send-email: mention sendemail.cc config variable
Message-ID: <200812291400.08924.trast@student.ethz.ch>
URL: https://gitlist.dev/e/200812291400.08924.trast%40student.ethz.ch
In-Reply-To: <200812290037.25890.markus.heidelberg@web.de>

```
Markus Heidelberg wrote:
>  	Specify a starting "Cc:" value for each email.
> +	Default is the value of 'sendemail.cc'.
>  +
>  The --cc option must be repeated for each user you want on the cc list.

Judging from the source, this is not a default value that you can
override: any recipients listed in sendemail.cc configuration(s) are
always added to the Cc list.  The same goes for --bcc and
sendemail.bcc however, which uses the exact same formulation.

Maybe something like

  You can also add Cc recipients via 'sendemail.cc' configuration
  settings.

would clarify?

-- 
Thomas Rast
trast@{inf,student}.ethz.ch



```

## Markus Heidelberg, 2008-12-29 13:29

Subject: Re: [PATCH] doc/git-send-email: mention sendemail.cc config variable
Message-ID: <200812291429.01822.markus.heidelberg@web.de>
URL: https://gitlist.dev/e/200812291429.01822.markus.heidelberg%40web.de
In-Reply-To: <200812291400.08924.trast@student.ethz.ch>

```
Thomas Rast, 29.12.2008:
> Markus Heidelberg wrote:
> >  	Specify a starting "Cc:" value for each email.
> > +	Default is the value of 'sendemail.cc'.
> >  +
> >  The --cc option must be repeated for each user you want on the cc list.
> 
> Judging from the source, this is not a default value that you can
> override: any recipients listed in sendemail.cc configuration(s) are
> always added to the Cc list.  The same goes for --bcc and
> sendemail.bcc however, which uses the exact same formulation.

OK, and --to and sendemail.to is also affected.

> Maybe something like
> 
>   You can also add Cc recipients via 'sendemail.cc' configuration
>   settings.
> 
> would clarify?

It is already in next, I think a following patch should be against next
now, shouldn't it?

Markus

```

## Junio C Hamano, 2008-12-30 08:00

Subject: Re: [PATCH] doc/git-send-email: mention sendemail.cc config variable
Message-ID: <7vocyu3xei.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vocyu3xei.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <200812291429.01822.markus.heidelberg@web.de>

```
Markus Heidelberg <markus.heidelberg@web.de> writes:

> It is already in next, I think a following patch should be against next
> now, shouldn't it?

Surely, and thanks.

If you look at the output of

	$ git log --first-parent origin/master..origin/next

You will find the tip of mh/maint-sendmail-cc-doc topic branch is at
bd7c6e7 (doc/git-send-email: mention sendemail.cc config variable,
2008-12-29).  I'll apply any follow-up patch to the topic on top of that
commit, and then merge the result to 'next' (and 'master'/'maint' when the
result is ready).

In rare cases when there are other topics in 'next' that touch vicinity of
the code you are modifying, a patch made against 'next' may not apply
cleanly to the topic, but I'll wiggle it to apply anyway (that is what the
maintainers do), so it would certainly be nicer if you sent a patch to the
tip of the topic you are updating, but there is no need to worry about
such conflicts too much.

```

## Markus Heidelberg, 2009-01-01 23:40

Subject: Re: [PATCH] doc/git-send-email: mention sendemail.cc config variable
Message-ID: <200901020040.41399.markus.heidelberg@web.de>
URL: https://gitlist.dev/e/200901020040.41399.markus.heidelberg%40web.de
In-Reply-To: <200812291400.08924.trast@student.ethz.ch>

```
Thomas Rast, 29.12.2008:
> Markus Heidelberg wrote:
> >  	Specify a starting "Cc:" value for each email.
> > +	Default is the value of 'sendemail.cc'.
> >  +
> >  The --cc option must be repeated for each user you want on the cc list.
> 
> Judging from the source, this is not a default value that you can
> override: any recipients listed in sendemail.cc configuration(s) are
> always added to the Cc list.  The same goes for --bcc and
> sendemail.bcc however, which uses the exact same formulation.

I just tested it with --dry-run: the command line options for all three
header lines (to cc bcc) override the corresponding config settings. So
the formulation is correct: the settings are only default values.

Markus

```

## Thomas Rast, 2009-01-02 00:43

Subject: Re: [PATCH] doc/git-send-email: mention sendemail.cc config variable
Message-ID: <200901020143.43275.trast@student.ethz.ch>
URL: https://gitlist.dev/e/200901020143.43275.trast%40student.ethz.ch
In-Reply-To: <200901020040.41399.markus.heidelberg@web.de>

```
Markus Heidelberg wrote:
> I just tested it with --dry-run: the command line options for all three
> header lines (to cc bcc) override the corresponding config settings. So
> the formulation is correct: the settings are only default values.

Indeed, you're right.  Apologies for the false alarm.

-- 
Thomas Rast
trast@{inf,student}.ethz.ch


```
