Code

config_set_multivar(): disallow newlines in keys
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sat, 20 Jan 2007 01:25:37 +0000 (02:25 +0100)
committerJunio C Hamano <junkio@cox.net>
Sat, 20 Jan 2007 01:55:14 +0000 (17:55 -0800)
commit6f71686e0bac2337cdaf9057893a16a47e7d1033
tree06fd7a1341f2544fe0011bb4c24989bc2209e626
parentd23842fd53e61f32c189a6ec902c4133abf29878
config_set_multivar(): disallow newlines in keys

This will no longer work:

$ git repo-config 'key.with
newline' some-value

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
config.c
t/t1300-repo-config.sh