refs API: ignore errno in worktree.c's find_shared_symref()
commit0506eb71f7b64dac71ae35fafa7ca23c7a41e276
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 16 Oct 2021 09:39:19 +0000 (16 11:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Oct 2021 18:17:03 +0000 (16 11:17 -0700)
treea9aeb7f9c3a1330fff991edf62056e1a086380e0
parentccf3cc1b189f732cb1e99b08bda37e92a896047f
refs API: ignore errno in worktree.c's find_shared_symref()

There are only handful of callers of find_shared_symref(), none of
whom care about errno, so let's migrate to the non-errno-propagating
version of refs_resolve_ref_unsafe() and explicitly ignore errno here.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
worktree.c