git/refs
Patrick Steinhardt 802c0646ac reftable/merged: handle allocation failures in `merged_table_init_iter()`
Handle allocation failures in `merged_table_init_iter()`. While at it,
merge `merged_iter_init()` into the function. It only has a single
caller and merging them makes it easier to handle allocation failures
consistently.

This change also requires us to adapt `reftable_stack_init_*_iterator()`
to bubble up the new error codes of `merged_table_iter_init()`. Adapt
callsites accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-10-02 07:53:53 -07:00
..
debug.c refs: set up ref consistency check infrastructure 2024-08-08 09:36:53 -07:00
files-backend.c Merge branch 'ps/pack-refs-auto-heuristics' 2024-09-12 11:47:23 -07:00
iterator.c refs: add referent to each_ref_fn 2024-08-09 08:47:34 -07:00
packed-backend.c Merge branch 'ps/pack-refs-auto-heuristics' 2024-09-12 11:47:23 -07:00
packed-backend.h refs/files: use heuristic to decide whether to repack with `--auto` 2024-09-04 08:03:24 -07:00
ref-cache.c refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
ref-cache.h refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
refs-internal.h Merge branch 'sj/ref-fsck' 2024-08-16 12:51:51 -07:00
reftable-backend.c reftable/merged: handle allocation failures in `merged_table_init_iter()` 2024-10-02 07:53:53 -07:00