diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-10-02 12:55:54 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-10-02 07:53:53 -0700 |
| commit | 802c0646ac3c04a16adafde5e7cf899f5fc46821 (patch) | |
| tree | fc6191e41a0978d6b8cc9ff0d14a38fabe46f9dd /builtin/commit-tree.c | |
| parent | reftable/writer: handle allocation failures in `reftable_new_writer()` (diff) | |
| download | git-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
