summaryrefslogtreecommitdiff
path: root/t/t1406-submodule-ref-store.sh
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2021-11-22 14:19:08 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-11-22 11:01:25 -0800
commit7b089120d9e0065978da461f8ccf42000e6760a4 (patch)
treecf891aed11ed2574032887f06c3987be0783ab5f /t/t1406-submodule-ref-store.sh
parentGit 2.34 (diff)
downloadtgif-7b089120d9e0065978da461f8ccf42000e6760a4.tar.xz
refs: drop force_create argument of create_reflog API
There is only one caller, builtin/checkout.c, and it hardcodes force_create=1. This argument was introduced in abd0cd3a301 (refs: new public ref function: safe_create_reflog, 2015-07-21), which promised to immediately use it in a follow-on commit, but that never happened. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1406-submodule-ref-store.sh')
-rwxr-xr-xt/t1406-submodule-ref-store.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1406-submodule-ref-store.sh b/t/t1406-submodule-ref-store.sh
index 0a87058971..f1e57a9c05 100755
--- a/t/t1406-submodule-ref-store.sh
+++ b/t/t1406-submodule-ref-store.sh
@@ -92,7 +92,7 @@ test_expect_success 'delete_reflog() not allowed' '
'
test_expect_success 'create-reflog() not allowed' '
- test_must_fail $RUN create-reflog HEAD 1
+ test_must_fail $RUN create-reflog HEAD
'
test_done