Code

git-config-set: Properly terminate strings with '\0'
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Mon, 21 Nov 2005 10:18:20 +0000 (11:18 +0100)
committerJunio C Hamano <junkio@cox.net>
Mon, 21 Nov 2005 22:04:22 +0000 (14:04 -0800)
commit3dd94e3b2e2f5b00512273f96ab5628c742c112c
tree9f25338f0dc57dbb427e7229b539dc6a5c34884c
parente814bc4d159f62941fafe135c3008b3ff103444d
git-config-set: Properly terminate strings with '\0'

When a lowercase version of the key was generated, it was not
terminated. Strangely enough, it worked on Linux and macosx anyway.
Just cygwin barfed.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
config-set.c
config.c