]> git.ipfire.org Git - thirdparty/git.git/commit
refs: introduce REF_SKIP_REFNAME_VERIFICATION flag
authorHan-Wen Nienhuys <hanwen@google.com>
Tue, 7 Dec 2021 13:38:18 +0000 (13:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Dec 2021 21:15:19 +0000 (13:15 -0800)
commit3c966c7b4e97a5399662f85ab73af08a6419a303
treeec71406c8d372ae48eae9be1c109be9546afa7ab
parente9706a188f8598ea4d8afac1f70360abb77d4d8d
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>
refs.c
refs.h
t/helper/test-ref-store.c
t/t1430-bad-ref-name.sh