summaryrefslogtreecommitdiff
path: root/t/t6300-for-each-ref.sh
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-16 11:39:18 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-16 11:17:03 -0700
commitccf3cc1b189f732cb1e99b08bda37e92a896047f (patch)
tree84cc8fe8107c623b65d579bc5efca7381e026652 /t/t6300-for-each-ref.sh
parentrefs API: make files_copy_or_rename_ref() et al not set errno (diff)
downloadtgif-ccf3cc1b189f732cb1e99b08bda37e92a896047f.tar.xz
refs API: ignore errno in worktree.c's add_head_info()
The static add_head_info() function is only used indirectly by callers of get_worktrees(), none of whom care about errno, and even if they did having the faked-up one from refs_resolve_ref_unsafe() would only confuse them if they used die_errno() et al. So let's explicitly ignore it here. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t6300-for-each-ref.sh')
0 files changed, 0 insertions, 0 deletions