]> git.99rst.org Git - git.git/commit
refs API: remove refs_read_ref_full() wrapper
authorÆvar Arnfjörð Bjarmason <redacted>
Sat, 16 Oct 2021 09:39:14 +0000 (11:39 +0200)
committerJunio C Hamano <redacted>
Sat, 16 Oct 2021 18:17:03 +0000 (11:17 -0700)
commit76887df01440018e1e757761fea81a4d3a676f25
treeaf4960330e6d3e5c7c3de8b42a1f237839a2ec93
parent52106430dc80ea20ec2e00a6079a7bc114d36b70
refs API: remove refs_read_ref_full() wrapper

Remove the refs_read_ref_full() wrapper in favor of migrating various
refs.c API users to the underlying refs_werrres_ref_unsafe() function.

A careful reading of these callers shows that the callers of this
function did not care about "errno", by moving away from the
refs_resolve_ref_unsafe() wrapper we can be sure that nothing relies
on it anymore.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
refs.c
refs.h
refs/files-backend.c
worktree.c
git clone https://git.99rst.org/PROJECT