diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-16 11:39:15 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-10-16 11:17:03 -0700 |
| commit | db7a3d25d639ba816fb85af3ca08d689702ab294 (patch) | |
| tree | 7fc2cb5622e12493dbc701940af2eafa38506bdc /refs/files-backend.c | |
| parent | 76887df01440018e1e757761fea81a4d3a676f25 (diff) | |
refs API: make resolve_gitlink_ref() not set errno
I have carefully read the upstream callers of resolve_gitlink_ref()
and determined that they don't care about errno.
So let's move away from the errno-setting refs_resolve_ref_unsafe()
wrapper to refs_werrres_ref_unsafe(), and explicitly ignore the errno
it sets for us.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions
