Re: [RFC] Git config file reader in Perl (WIP)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 17, 2007, 12:37 UTC
- Message-ID
- <Pine.LNX.4.63.0701171334410.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- 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