diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-11-18 16:34:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-11-19 04:23:10 +0100 |
commit | 86b770b0bbf1aba3c8e43401936258c58648703a (patch) | |
tree | 97ca3a09de568434e512931d018d332d7ae61489 /Makefile | |
parent | reftable/system: stop depending on "hash.h" (diff) | |
download | git-86b770b0bbf1aba3c8e43401936258c58648703a.tar.xz git-86b770b0bbf1aba3c8e43401936258c58648703a.zip |
reftable/stack: stop using `fsync_component()` directly
We're executing `fsync_component()` directly in the reftable library so
that we can fsync data to disk depending on "core.fsync". But as we're
in the process of converting the reftable library to become standalone
we cannot use that function in the library anymore.
Refactor the code such that users of the library can inject a custom
fsync function via the write options. This allows us to get rid of the
dependency on "write-or-die.h".
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions