]> Kevux Git Server - rit/commit
packfile: extract function to iterate through objects of a store
authorPatrick Steinhardt <ps@pks.im>
Mon, 26 Jan 2026 09:51:21 +0000 (10:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Jan 2026 16:26:07 +0000 (08:26 -0800)
commit37353119046414b2dccb26b32cb5224e0c9258e1
tree9a7ab0ddb62b7bcf178ed9c0a05fe4ed26459151
parentcde615b6f05228cd7cf125de6bf5757381f65381
packfile: extract function to iterate through objects of a store

In the next commit we're about to introduce a new function that knows to
iterate through objects of a given packfile store. Same as with the
equivalent function for loose objects, this new function will also be
agnostic of backends by using a `struct object_info`.

Prepare for this by extracting a new shared function to iterate through
a single packfile store.

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