git-commit-vandalism/refs
Han-Wen Nienhuys 8b72fea7e9 refs API: make refs_read_raw_ref() not set errno
Add a "failure_errno" to refs_read_raw_ref(), his allows
refs_werrres_ref_unsafe() to pass along its "failure_errno", as a
first step before its own callers are migrated to pass it further up
the chain.

We are leaving out out the refs_read_special_head() in
refs_read_raw_ref() for now, as noted in a subsequent commit moving it
to "failure_errno" will require some special consideration.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2021-10-16 11:17:02 -07:00
..
debug.c Merge branch 'hn/refs-errno-cleanup' 2021-10-03 21:49:18 -07:00
files-backend.c refs API: make refs_read_raw_ref() not set errno 2021-10-16 11:17:02 -07:00
iterator.c use CALLOC_ARRAY 2021-03-13 16:00:09 -08:00
packed-backend.c refs API: make refs_read_raw_ref() not set errno 2021-10-16 11:17:02 -07:00
packed-backend.h refs/packed-backend.h: add missing declaration (hdr-check) 2018-09-20 11:50:00 -07:00
ref-cache.c refs/ref-cache.[ch]: remove "incomplete" from create_dir_entry() 2021-09-28 15:12:04 -07:00
ref-cache.h refs/ref-cache.[ch]: remove "incomplete" from create_dir_entry() 2021-09-28 15:12:04 -07:00
refs-internal.h refs API: make refs_read_raw_ref() not set errno 2021-10-16 11:17:02 -07:00