Re: [PATCH/RFC] config: Add --null/-z option for null-delimted output
On Tue, Jun 19, 2007 at 12:09:18PM +0100, Johannes Schindelin wrote:
> Okay, good point. But of course, you have to use a delimiter for the key
> name that cannot be part of the keyname. You picked '\n'. The original was
> '='. Both work.
No, they actually don't.
Example:
$ cat .git/config
[foo "bar=baz"]
key = value
[foo]
key = key=value
$ git config -l
foo.bar=baz.key=value
foo.key=key=value
So how do I parse that?
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/