Code

git-config --rename-section could rename wrong section
authorPavel Roskin <proski@gnu.org>
Sun, 4 Feb 2007 03:01:04 +0000 (22:01 -0500)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Feb 2007 05:35:22 +0000 (21:35 -0800)
commit9673a0b182fdb39e6a00e2cbdcfacee769201053
treef00c0cf98e3ba7cc2b5d9f41786a0147f905614b
parent3b0f5e88ee039e96822d7d0127a59d78936c222f
git-config --rename-section could rename wrong section

The "git-config --rename-section" implementation would match sections
that are substrings of the section name to be renamed.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
config.c