| 1026 | } |
| 1027 | |
| 1028 | static void prepare_packed_git_one(struct odb_source *source) |
| 1029 | { |
| 1030 | struct string_list garbage = STRING_LIST_INIT_DUP; |
| 1031 | struct prepare_pack_data data = { |
| 1032 | .source = source, |
| 1033 | .garbage = &garbage, |
| 1034 | }; |
| 1035 | |
| 1036 | for_each_file_in_pack_dir(source->path, prepare_pack, &data); |
| 1037 | |
| 1038 | report_pack_garbage(data.garbage); |
| 1039 | string_list_clear(data.garbage, 0); |
| 1040 | } |
| 1041 | |
| 1042 | DEFINE_LIST_SORT(static, sort_packs, struct packfile_list_entry, next); |
| 1043 |
no test coverage detected