summaryrefslogtreecommitdiff
path: root/builtin/commit.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 /builtin/commit.c
parented90f04155df1ec757b241ae3f45889c05efae26 (diff)
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/commit.c')
0 files changed, 0 insertions, 0 deletions