]> git.ipfire.org Git - thirdparty/git.git/commit
refs: introduce REF_SKIP_OID_VERIFICATION flag
authorHan-Wen Nienhuys <hanwen@google.com>
Tue, 7 Dec 2021 13:38:17 +0000 (13:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Dec 2021 21:15:19 +0000 (13:15 -0800)
commite9706a188f8598ea4d8afac1f70360abb77d4d8d
tree0824e81e26b7119053a7e6669c93f6a2743daf85
parent0464d0a134df97c3f9475c58e536c3b685a3ff7d
refs: introduce REF_SKIP_OID_VERIFICATION flag

This lets the ref-store test helper write non-existent or unparsable objects
into the ref storage.

Use this to make t1006 and t3800 independent of the files storage backend.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.h
refs/files-backend.c
t/helper/test-ref-store.c
t/t1006-cat-file.sh
t/t3800-mktag.sh