| 35 | } |
| 36 | |
| 37 | void prune_packed_objects(int opts) |
| 38 | { |
| 39 | if (opts & PRUNE_PACKED_VERBOSE) |
| 40 | progress = start_delayed_progress(the_repository, |
| 41 | _("Removing duplicate objects"), 256); |
| 42 | |
| 43 | for_each_loose_file_in_source(the_repository->objects->sources, |
| 44 | prune_object, NULL, prune_subdir, &opts); |
| 45 | |
| 46 | /* Ensure we show 100% before finishing progress */ |
| 47 | display_progress(progress, 256); |
| 48 | stop_progress(&progress); |
| 49 | } |
no test coverage detected