diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-08-08 16:06:44 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-08 10:14:43 -0700 |
commit | 7ee307da1bfe3867f91fbd9a053494bc5fe61675 (patch) | |
tree | 3bc041f69d9f8af9ce7caae0bc1c8d3b9de32cb5 /builtin/commit.c | |
parent | 558f6fbeb1f194116231218b3e7496ceef4b9618 (diff) |
reftable/stack: do not die when fsyncing lock file files
We use `fsync_component_or_die()` when committing an addition to the
"tables.list" lock file, which unsurprisingly dies in case the fsync
fails. Given that this is part of the reftable library, we should never
die and instead let callers handle the error.
Adapt accordingly and use `fsync_component()` instead.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions