diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-16 11:39:22 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-16 11:17:04 -0700 |
commit | 1e3ccb552f3d9166009ca2bc40b27bbc0c0e2b78 (patch) | |
tree | 598cbb7368a5626ded258ecf47df278c979ee5e4 /fetch-negotiator.h | |
parent | refs API: make refs_resolve_refdup() not set errno (diff) | |
download | tgif-1e3ccb552f3d9166009ca2bc40b27bbc0c0e2b78.tar.xz |
refs API: make refs_ref_exists() not set errno
Move refs_ref_exists from the legacy refs_resolve_ref_unsafe() to the
new refs_werrres_ref_unsafe(). I have read its callers and determined
that they don't care about errno being set, in particular:
git grep -W -w -e refs_ref_exists -e ref_exists
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fetch-negotiator.h')
0 files changed, 0 insertions, 0 deletions