]> git.ipfire.org Git - thirdparty/git.git/commit
test-ref-store: parse symbolic flag constants
authorHan-Wen Nienhuys <hanwen@google.com>
Tue, 7 Dec 2021 13:38:14 +0000 (13:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Dec 2021 21:15:18 +0000 (13:15 -0800)
commitcd2d40fb7f1f9e12b13937789bbf5573f2041cde
tree94f2283184380add09dc0ac987d6e3ff42e305d4
parent93db6eef04539e822b6786ae12f1ea4db75635bb
test-ref-store: parse symbolic flag constants

This lets tests use REF_XXXX constants instead of hardcoded integers. The flag
names should be separated by a ','.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-ref-store.c
t/t1405-main-ref-store.sh