summaryrefslogtreecommitdiff
path: root/t/t6010-merge-base.sh
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2016-12-20 16:48:36 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-12-22 12:31:50 -0800
commitc06fa62dfc9c882f60250e60ad91fbb6a7e6f8e7 (patch)
treedb3221f8e8998ec4302bd797fa6af89de65efe8a /t/t6010-merge-base.sh
parentconfig.c: rename label unlock_and_out (diff)
downloadtgif-c06fa62dfc9c882f60250e60ad91fbb6a7e6f8e7.tar.xz
config.c: handle lock file in error case in git_config_rename_...
We could rely on atexit() to clean up everything, but let's be explicit when we can. And it's good anyway because the function is called the second time in the same process, we're in trouble. This function should not affect the successful case because after commit_lock_file() is called, rollback_lock_file() becomes no-op, as long as it is initialized. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6010-merge-base.sh')
0 files changed, 0 insertions, 0 deletions