Fix renaming branch without config file
authorGeert Bosch <redacted>
Thu, 5 Apr 2007 14:20:55 +0000 (10:20 -0400)
committerJunio C Hamano <redacted>
Thu, 5 Apr 2007 21:53:22 +0000 (14:53 -0700)
commit01ebb9dc8846af729c13d5d8c9d939a6d1159240
tree9f845d14b1dae32599e4c03f96dc5d257a477c89
parent1e31fbe24fac983b0057af39824f73d65dba6502
Fix renaming branch without config file

Make git_config_rename_section return success if no config file
exists.  Otherwise, renaming a branch would abort, leaving the
repository in an inconsistent state.

[jc: test]

Signed-off-by: Geert Bosch <redacted>
Signed-off-by: Junio C Hamano <redacted>
config.c
t/t3200-branch.sh
git clone https://git.99rst.org/PROJECT