| 290 | } |
| 291 | |
| 292 | static void remove_redundant_packs_1(struct repository *repo, |
| 293 | struct string_list *packs, |
| 294 | const char *packdir, |
| 295 | bool wrote_incremental_midx) |
| 296 | { |
| 297 | struct string_list_item *item; |
| 298 | for_each_string_list_item(item, packs) { |
| 299 | if (!existing_pack_is_marked_for_deletion(item)) |
| 300 | continue; |
| 301 | repack_remove_redundant_pack(repo, packdir, item->string, |
| 302 | wrote_incremental_midx); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | void existing_packs_remove_redundant(struct existing_packs *existing, |
| 307 | const char *packdir, |
no test coverage detected