repo-config: trim white-space before comment
commit7ebdba614223f867d3f19963647406df1d0e5ce0
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 2 May 2006 14:58:37 +0000 (2 16:58 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 5 May 2006 21:34:47 +0000 (5 14:34 -0700)
treef5701cd29cbc27db905187fce3e442909ef49150
parent93ddef3e2dd5f7f3238fad9d52e974d03c7844f2
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>
(cherry picked from c1aee1fd8d94da9b3c5d2dc1d4264f7e73a58f80 commit)
config.c