| author | Geert Bosch <bosch@gnat.com> | |
| Thu, 5 Apr 2007 14:20:55 +0000 (10:20 -0400) | ||
| committer | Junio C Hamano <junkio@cox.net> | |
| Thu, 5 Apr 2007 21:53:22 +0000 (14:53 -0700) | ||
| commit | 01ebb9dc8846af729c13d5d8c9d939a6d1159240 | |
| tree | 9f845d14b1dae32599e4c03f96dc5d257a477c89 | tree | snapshot |
| parent | 1e31fbe24fac983b0057af39824f73d65dba6502 | commit | diff |
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 <bosch@gnat.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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 <bosch@gnat.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
| config.c | diff | blob | history | |
| t/t3200-branch.sh | diff | blob | history |