diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-11-23 19:59:36 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-23 12:56:45 -0800 |
| commit | 385e18810f10ec0ce0a266d25da4e1878c8ce15a (patch) | |
| tree | 6d817f18b5c22197e883df29998ded0f8cfe3db9 /object-file.c | |
| parent | eb5abbb4e6a8c06f5c6275bbb541bf7d736171c5 (diff) | |
| download | git-385e18810f10ec0ce0a266d25da4e1878c8ce15a.tar.gz | |
packfile: introduce function to read object info from a store
Extract the logic to read object info for a packed object from
`do_oid_object_into_extended()` into a standalone function that operates
on the packfile store. This function will be used in a subsequent
commit.
Note that this change allows us to make `find_pack_entry()` an internal
implementation detail. As a consequence though we have to move around
`packfile_store_freshen_object()` so that it is defined after that
function.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
0 files changed, 0 insertions, 0 deletions
