summaryrefslogtreecommitdiff
path: root/tempfile.c
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-16 11:39:25 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-16 11:17:04 -0700
commit4755d7dff7a27f431493926541fd6aab2e860aa4 (patch)
treec52402defe76bb6b25bc7fe755040d1135c7701c /tempfile.c
parentrefs API: make expand_ref() & repo_dwim_log() not set errno (diff)
downloadtgif-4755d7dff7a27f431493926541fd6aab2e860aa4.tar.xz
refs API: don't expose "errno" in run_transaction_hook()
In run_transaction_hook() we've checked errno since 67541597670 (refs: implement reference transaction hook, 2020-06-19), let's reset errno afterwards to make sure nobody using refs.c directly or indirectly relies on it. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tempfile.c')
0 files changed, 0 insertions, 0 deletions