From: Johannes Schindelin Date: Wed, 17 Jan 2007 12:37:59 GMT Subject: Re: [RFC] Git config file reader in Perl (WIP) Message-ID: In-Reply-To: <200701171311.36358.jnareb@gmail.com> Hi, On Wed, 17 Jan 2007, Jakub Narebski wrote: > No key or value can contain "\n". I just tried this: $ cat > .git/config << EOF [section] key = "Hello\nWorld" EOF $ git-repo-config -l section.key=Hello World So, values _can_ contain newlines. > With "\n" as separator you can simply rrturn NUL in the noval case. Which would buy you what exactly? You can tell that the user did not say "noval = true", but "noval". Great. But the _effect_ should be the same! Anyway, I realize you don't like my solution, so I will just shut up. Ciao, Dscho