aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-10-02 12:55:54 +0200
committerJunio C Hamano <gitster@pobox.com>2024-10-02 07:53:53 -0700
commit802c0646ac3c04a16adafde5e7cf899f5fc46821 (patch)
treefc6191e41a0978d6b8cc9ff0d14a38fabe46f9dd /builtin/commit-tree.c
parentreftable/writer: handle allocation failures in `reftable_new_writer()` (diff)
downloadgit-802c0646ac3c04a16adafde5e7cf899f5fc46821.tar.gz
git-802c0646ac3c04a16adafde5e7cf899f5fc46821.zip
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>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions