]> git.ipfire.org Git - thirdparty/git.git/commit
refs/iterator: implement seeking for merged iterators
authorPatrick Steinhardt <ps@pks.im>
Wed, 12 Mar 2025 15:56:17 +0000 (16:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Mar 2025 18:31:19 +0000 (11:31 -0700)
commit9821d90f13c6442022bbbcb2d96f1b29aad76503
tree58b93ebc8e566517ee9ee25df6893e983384a665
parent82c39c6055b5340f0e50acbe01a97e51d3907fec
refs/iterator: implement seeking for merged iterators

Implement seeking on merged iterators. The implementation is rather
straight forward, with the only exception that we must not deallocate
the underlying iterators once they have been exhausted.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/iterator.c