# Re: [PATCH] Add config example with respect to branch

2 messages from 2006-12-07 to 2006-12-07. Participants: Junio C Hamano, Aneesh Kumar K.V.
Thread: https://gitlist.dev/t/43734

## Aneesh Kumar K.V, 2006-12-07 06:36

Subject: [PATCH] Add config example with respect to branch
Message-ID: <4577B687.5080907@gmail.com>
URL: https://gitlist.dev/e/4577B687.5080907%40gmail.com

```


From: Aneesh Kumar K.V <aneesh.kumar@gmail.com>

Update config.txt with example with respect to branch
config variable. This give a better idea regarding
how branch names are expected.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
---
 Documentation/config.txt |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index 9090762..d3518d1 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -31,6 +31,11 @@ Example
 		external = "/usr/local/bin/gnu-diff -u"
 		renames = true
 
+	[branch "devel"]
+		remote = origin
+		merge = refs/heads/devel
+
+
 Variables
 ~~~~~~~~~
 
-- 
1.4.4.1.g278f-dirty


```

## Junio C Hamano, 2006-12-07 19:20

Subject: Re: [PATCH] Add config example with respect to branch
Message-ID: <7v8xhjtsvk.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v8xhjtsvk.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <4577B687.5080907@gmail.com>

```
I've tolerated patches in attachments, but please do not do
this:

    This is a multi-part message in MIME format.
    --------------010006030902030700040300
    Content-Type: text/plain; charset=ISO-8859-1; format=flowed
    Content-Transfer-Encoding: 7bit


    --------------010006030902030700040300
    Content-Type: text/plain;
     name="0001-Add-config-example-with-respect-to-branch.txt"
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline;
     filename="0001-Add-config-example-with-respect-to-branch.txt"

    From: Aneesh Kumar K.V <aneesh.kumar@gmail.com>

    Update config.txt with example with respect to branch
    config variable. This give a better idea regarding
    how branch names are expected.

    Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
    ---
     Documentation/config.txt |    5 +++++
     1 files changed, 5 insertions(+), 0 deletions(-)


Instead have the proposed commit log message (and From: line if
you are forwarding somebody else's patch, or if your MUA does
not record your own name correctly) in the first part (which is
empty in your message).


```
