summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-01-09 09:33:14 +0100
committerJunio C Hamano <gitster@pobox.com>2026-01-09 06:40:07 -0800
commit7b330a11de903f11a73084d41dd00bbef71cd622 (patch)
tree9ab47ed80d95fbd7eee3c064f4aff9c8a7005b1e /contrib/persistent-https
parent84f0e60b28de69d1ccb7a51b729af6202b6cf4c8 (diff)
downloadgit-7b330a11de903f11a73084d41dd00bbef71cd622.tar.gz
git-7b330a11de903f11a73084d41dd00bbef71cd622.zip
packfile: only prepare owning store in `packfile_store_get_packs()`
When calling `packfile_store_get_packs()` we prepare not only the provided packfile store, but also all those of all other sources part of the same object database. This was required when the store was still sitting on the object database level. But now that it sits on the source level it's not anymore. Adapt the code so that we only prepare the MIDX of the provided store. All callers only work in the context of a single store or call the function in a loop over all sources, so this change shouldn't have any practical effects. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions