diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-03-12 16:56:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-03-12 11:31:19 -0700 |
commit | 53de20c931faabdb6fa9a30d949266b2a7471497 (patch) | |
tree | efa018e3176e7417b0ac240ba8c809d13a94e15f /builtin/commit-tree.c | |
parent | 9821d90f13c6442022bbbcb2d96f1b29aad76503 (diff) |
refs/iterator: implement seeking for reftable iterators
Implement seeking of reftable iterators. As the low-level reftable
iterators already support seeking this change is straight-forward. Two
notes though:
- We do not support seeking on reflog iterators. It is unclear what
seeking would even look like in this context, as you typically would
want to seek to a specific entry in the reflog for a specific ref.
There is currently no use case for this, but if one arises in the
future, we can still implement seeking at that later point.
- We start to check whether `reftable_stack_init_ref_iterator()` is
successful.
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