Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-04-06 12:33:06 +0400
committerJunio C Hamano <junkio@cox.net>2007-04-07 03:54:37 +0400
commitd26f9fef470443dfb0d09c08341634208f4fb6f7 (patch)
treeb0efe2652bc5647891ace0c8f28a5f40da7655c3 /builtin-branch.c
parent08b984fb5456c23b04c573f9021141ce27af707d (diff)
rename_ref(): only print a warning when config-file update fails
If git_config_rename_section() fails, rename_ref() used to return 1, which left HEAD pointing to an absent refs/heads file (since the actual renaming had already occurred). Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-branch.c')
0 files changed, 0 insertions, 0 deletions