refs tests: ignore ignore errno in test-ref-store helper
commit6846f7248d2915e534eebf1457600b83573f981d
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 16 Oct 2021 09:39:20 +0000 (16 11:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Oct 2021 18:17:03 +0000 (16 11:17 -0700)
tree70e6fd48d76acc415dedc078f2a6fb891440a2b0
parent0506eb71f7b64dac71ae35fafa7ca23c7a41e276
refs tests: ignore ignore errno in test-ref-store helper

The cmd_resolve_ref() function has always ignored errno on failure,
but let's do so explicitly when using the refs_resolve_ref_unsafe()
function.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-ref-store.c