From: Frank Lichtenheld Date: Tue, 19 Jun 2007 15:21:40 GMT Subject: Re: [PATCH/RFC] config: Add --null/-z option for null-delimted output Message-ID: <20070619152139.GF19725@planck.djpig.de> In-Reply-To: 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 www: http://www.djpig.de/