diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2021-12-07 13:38:18 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-07 13:15:19 -0800 |
commit | 3c966c7b4e97a5399662f85ab73af08a6419a303 (patch) | |
tree | ec71406c8d372ae48eae9be1c109be9546afa7ab /t/helper | |
parent | refs: introduce REF_SKIP_OID_VERIFICATION flag (diff) | |
download | tgif-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.c | 1 |
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 } }; |