Commit 12d0464
packfile: only prepare owning store in
When calling `packfile_store_get_packs()` we prepare not only the
provided packfile store, but also all those of all other sources part of
teh 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 <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>packfile_store_get_packs()
1 parent 1d05db2 commit 12d0464
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
| 1095 | + | |
| 1096 | + | |
1099 | 1097 | | |
1100 | 1098 | | |
1101 | 1099 | | |
| |||
0 commit comments