aboutsummaryrefslogtreecommitdiffstats
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-16 11:39:24 +0200
committerJunio C Hamano <gitster@pobox.com>2021-10-16 11:17:04 -0700
commit6582bd31e3f3fa6cfb16fae0cd31036081c14a0a (patch)
treeae9d9ca40d1c3808418e70680955a2df6b70f6de /refs/files-backend.c
parentrefs API: make resolve_ref_unsafe() not set errno (diff)
downloadgit-6582bd31e3f3fa6cfb16fae0cd31036081c14a0a.tar.gz
git-6582bd31e3f3fa6cfb16fae0cd31036081c14a0a.zip
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 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions