Re: Implementing branch attributes in git config
- From
- Pavel Roskin <proski@gnu.org>
- Date
- May 9, 2006, 23:23 UTC
- Message-ID
- <1147217031.21611.4.camel@dv>
- In-Reply-To
- <20060509184519.5a707231.seanlkml@sympatico.ca>
On Tue, 2006-05-09 at 18:45 -0400, sean wrote:
Show 7 quoted lines
> On Tue, 09 May 2006 15:42:25 -0700 > Junio C Hamano <junkio@cox.net> 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
[s1]
k1 = v1\nv2Note 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.
-- Regards, Pavel Roskin