summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2021-12-07 13:38:18 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-07 13:15:19 -0800
commit3c966c7b4e97a5399662f85ab73af08a6419a303 (patch)
treeec71406c8d372ae48eae9be1c109be9546afa7ab /t/helper
parentrefs: introduce REF_SKIP_OID_VERIFICATION flag (diff)
downloadtgif-3c966c7b4e97a5399662f85ab73af08a6419a303.tar.xz
refs: introduce REF_SKIP_REFNAME_VERIFICATION flag
Use this flag with the test-helper in t1430, to avoid direct writes to the ref database. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-ref-store.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-ref-store.c b/t/helper/test-ref-store.c
index 0f3aa84c9f..8bca4f2af1 100644
--- a/t/helper/test-ref-store.c
+++ b/t/helper/test-ref-store.c
@@ -131,6 +131,7 @@ static struct flag_definition transaction_flags[] = {
FLAG_DEF(REF_NO_DEREF),
FLAG_DEF(REF_FORCE_CREATE_REFLOG),
FLAG_DEF(REF_SKIP_OID_VERIFICATION),
+ FLAG_DEF(REF_SKIP_REFNAME_VERIFICATION),
{ NULL, 0 }
};