]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: handle interrupted writes
authorPatrick Steinhardt <ps@pks.im>
Mon, 11 Dec 2023 09:07:38 +0000 (10:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Dec 2023 15:23:16 +0000 (07:23 -0800)
commit85a8c899cedf46b79dd333549ed24b7ea7697862
tree30b8fea47d43a01fd371e6b33e45cf03cada6d9f
parent917a2b3ce990717ccce5ff372766d9ffd41239f6
reftable: handle interrupted writes

There are calls to write(3P) where we don't properly handle interrupts.
Convert them to use `write_in_full()`.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/stack.c
reftable/stack_test.c