diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-10-18 00:44:39 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-19 21:35:37 +0200 |
commit | acd3b9eca82e38950f94e4708b528b7dae09a7c8 (patch) | |
tree | f341dae377b97e9c7fd9746208be0fee56bda438 /t/t7201-co.sh | |
parent | demonstrate breakage of detached checkout with symbolic link HEAD (diff) | |
download | git-acd3b9eca82e38950f94e4708b528b7dae09a7c8.tar.xz git-acd3b9eca82e38950f94e4708b528b7dae09a7c8.zip |
Enhance hold_lock_file_for_{update,append}() API
This changes the "die_on_error" boolean parameter to a mere "flags", and
changes the existing callers of hold_lock_file_for_update/append()
functions to pass LOCK_DIE_ON_ERROR.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7201-co.sh')
-rwxr-xr-x | t/t7201-co.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7201-co.sh b/t/t7201-co.sh index 3f70adaf5a..f93478f97f 100755 --- a/t/t7201-co.sh +++ b/t/t7201-co.sh @@ -339,7 +339,7 @@ test_expect_success 'checkout w/--track from non-branch HEAD fails' ' test "z$(git rev-parse master^0)" = "z$(git rev-parse HEAD)" ' -test_expect_failure 'detach a symbolic link HEAD' ' +test_expect_success 'detach a symbolic link HEAD' ' git checkout master && git config --bool core.prefersymlinkrefs yes && git checkout side && |