# [PATCH] format-patch: document the format.to configuration setting

3 messages from 2010-07-12 to 2010-07-13. Participants: Miklos Vajna, Jonathan Nieder.
Thread: https://gitlist.dev/t/24378

## Miklos Vajna, 2010-07-12 18:58

Subject: [PATCH] format-patch: document the format.to configuration setting
Message-ID: <20100712185838.GR31048@genesis.frugalware.org>
URL: https://gitlist.dev/e/20100712185838.GR31048%40genesis.frugalware.org

```
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

Reported by leo2007 on IRC.

 Documentation/config.txt |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 72949e7..877f78d 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -886,6 +886,10 @@ format.headers::
 	Additional email headers to include in a patch to be submitted
 	by mail.  See linkgit:git-format-patch[1].
 
+format.to::
+	Additional "To:" headers to include in a patch to be submitted
+	by mail.  See the --to option in linkgit:git-format-patch[1].
+
 format.cc::
 	Additional "Cc:" headers to include in a patch to be submitted
 	by mail.  See the --cc option in linkgit:git-format-patch[1].
-- 
1.7.0

```

## Jonathan Nieder, 2010-07-13 06:05

Subject: Re: [PATCH] format-patch: document the format.to configuration setting
Message-ID: <20100713060551.GC2425@burratino>
URL: https://gitlist.dev/e/20100713060551.GC2425%40burratino
In-Reply-To: <20100712185838.GR31048@genesis.frugalware.org>

```
Hi Miklos,

Miklos Vajna wrote:

> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -886,6 +886,10 @@ format.headers::
>  	Additional email headers to include in a patch to be submitted
>  	by mail.  See linkgit:git-format-patch[1].
>  
> +format.to::
> +	Additional "To:" headers to include in a patch to be submitted
> +	by mail.  See the --to option in linkgit:git-format-patch[1].
> +
>  format.cc::
>  	Additional "Cc:" headers to include in a patch to be submitted
>  	by mail.  See the --cc option in linkgit:git-format-patch[1].

Maybe something like this would make sense on top?

Your patch looks good, of course.

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 877f78d..79d54e5 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -887,12 +887,10 @@ format.headers::
 	by mail.  See linkgit:git-format-patch[1].
 
 format.to::
-	Additional "To:" headers to include in a patch to be submitted
-	by mail.  See the --to option in linkgit:git-format-patch[1].
-
 format.cc::
-	Additional "Cc:" headers to include in a patch to be submitted
-	by mail.  See the --cc option in linkgit:git-format-patch[1].
+	Additional recipients to include in a patch to be submitted
+	by mail.  See the --to and --cc options in
+	linkgit:git-format-patch[1].
 
 format.subjectprefix::
 	The default for format-patch is to output files with the '[PATCH]'
-- 

```

## Miklos Vajna, 2010-07-13 08:41

Subject: Re: [PATCH] format-patch: document the format.to configuration setting
Message-ID: <20100713084139.GS31048@genesis.frugalware.org>
URL: https://gitlist.dev/e/20100713084139.GS31048%40genesis.frugalware.org
In-Reply-To: <20100713060551.GC2425@burratino>

```
On Tue, Jul 13, 2010 at 01:05:51AM -0500, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Maybe something like this would make sense on top?

I don't mind. :)

```
