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

Implement seeking for "files" iterators. As we simply use a ref-cache
iterator under the hood the implementation is straight-forward. Note
that we do not implement seeking on reflog iterators, same as with the
"reftable" backend.

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