Re: Implementing branch attributes in git config

From: Pavel Roskin <>
Date: 2006-05-10 09:23:51
On Tue, 2006-05-09 at 18:45 -0400, sean wrote:
> On Tue, 09 May 2006 15:42:25 -0700
> Junio C Hamano <> wrote:
> > Does this mean you can have anything other than LF and ']'?
> Anything but LF; how's this for ugly:
>     ["hello Worl\]d \\backslash]

Actually, LF is already handled just fine in the value part:

[proski@dv .git]$ git-repo-config s1.k1 $'v1\nv2'
[proski@dv .git]$ grep [sk]1 config 
        k1 = v1\nv2

Note that quoting doesn't solve this problem (unless multi-line section
headers are allowed), but backslash escaping does.

But I guess everybody prefers quotes for their friendly look.

Pavel Roskin

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at
Received on Wed May 10 09:25:17 2006

This archive was generated by hypermail 2.1.8 : 2006-05-10 09:25:34 EST