repo-config: trim white-space before comment
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 2 May 2006 14:58:37 +0000 (16:58 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 2 May 2006 20:23:48 +0000 (13:23 -0700)
commitc1aee1fd8d94da9b3c5d2dc1d4264f7e73a58f80
tree085574fab11a09351322ad58a6e66ec3cf0a4c22
parentcfa24e184a67cc36f414d913cf705d31e70a7a1a
repo-config: trim white-space before comment

Earlier, calling

git-repo-config core.hello

on a .git/config like this:

[core]
hello = world ; a comment

would yield "world " (i.e. with a trailing space).

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