Files
git/reftable
Patrick Steinhardt 70afa6fa31 reftable/blocksource: stop using xmmap()
We use `xmmap()` to map reftables into memory. This function has two
problems:

  - It causes us to die in case the mmap fails.

  - It ties us to the Git codebase.

Refactor the code to use mmap(3p) instead with manual error checking.
Note that this function may not be the system-provided mmap(3p), but may
point to our `git_mmap()` wrapper that emulates the syscall on systems
that do not have mmap(3p) available.

Fix `reftable_block_source_from_file()` to properly bubble up the error
code in case the map(3p) call fails.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-02-18 10:55:35 -08:00
..
2025-02-06 14:56:45 -08:00
2024-12-28 08:00:44 -08:00
2025-02-06 14:56:45 -08:00
2024-11-26 08:39:38 +09:00