* We actually don't even have to worry about reachability here. * add_object_entry will weed out duplicates, so we just add every * loose object we find. */
| 4562 | * loose object we find. |
| 4563 | */ |
| 4564 | static void add_unreachable_loose_objects(struct rev_info *revs) |
| 4565 | { |
| 4566 | for_each_loose_file_in_source(the_repository->objects->sources, |
| 4567 | add_loose_object, NULL, NULL, revs); |
| 4568 | } |
| 4569 | |
| 4570 | static int has_sha1_pack_kept_or_nonlocal(const struct object_id *oid) |
| 4571 | { |
no test coverage detected