diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-10-16 11:39:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-16 11:17:04 -0700 |
commit | 6582bd31e3f3fa6cfb16fae0cd31036081c14a0a (patch) | |
tree | ae9d9ca40d1c3808418e70680955a2df6b70f6de /builtin/hash-object.c | |
parent | refs API: make resolve_ref_unsafe() not set errno (diff) | |
download | tgif-6582bd31e3f3fa6cfb16fae0cd31036081c14a0a.tar.xz |
refs API: make expand_ref() & repo_dwim_log() not set errno
The use of these two is rather trivial, and it's easy to see none of
their callers care about errno. So let's move them from
refs_resolve_ref_unsafe() to refs_resolve_ref_unsafe_with_errno(),
these were the last two callers, so we can get rid of that wrapper
function.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/hash-object.c')
0 files changed, 0 insertions, 0 deletions