Commit cc31dc3
pack-bitmap.c: support bitmap pack-reuse with incremental MIDXs
In a similar fashion as previous commits in the first phase of
incremental MIDXs, enumerate not just the packs in the current
incremental MIDX layer, but previous ones as well.
Likewise, in reuse_partial_packfile_from_bitmap(), when reusing only a
single pack from a MIDX, use the oldest layer's preferred pack as it is
likely to contain the most amount of reusable sections.
Signed-off-by: Taylor Blau <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>1 parent fd4c263 commit cc31dc3
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2320 | 2320 | | |
2321 | 2321 | | |
2322 | 2322 | | |
2323 | | - | |
| 2323 | + | |
| 2324 | + | |
2324 | 2325 | | |
2325 | 2326 | | |
2326 | 2327 | | |
| |||
2344 | 2345 | | |
2345 | 2346 | | |
2346 | 2347 | | |
| 2348 | + | |
2347 | 2349 | | |
2348 | 2350 | | |
2349 | | - | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
2350 | 2355 | | |
2351 | 2356 | | |
2352 | 2357 | | |
2353 | 2358 | | |
2354 | | - | |
| 2359 | + | |
2355 | 2360 | | |
2356 | 2361 | | |
2357 | 2362 | | |
| |||
0 commit comments