git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add config example with respect to branch
@ 2006-12-07  6:36 Aneesh Kumar K.V
  2006-12-07 19:20 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Aneesh Kumar K.V @ 2006-12-07  6:36 UTC (permalink / raw)
  To: git, Junio C Hamano

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: 0001-Add-config-example-with-respect-to-branch.txt --]
[-- Type: text/plain, Size: 703 bytes --]

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add config example with respect to branch
  2006-12-07  6:36 [PATCH] Add config example with respect to branch Aneesh Kumar K.V
@ 2006-12-07 19:20 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-12-07 19:20 UTC (permalink / raw)
  To: Aneesh Kumar K.V; +Cc: git

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).


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-07 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07  6:36 [PATCH] Add config example with respect to branch Aneesh Kumar K.V
2006-12-07 19:20 ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).