| 688 | } |
| 689 | |
| 690 | static int download_bundle_list(struct repository *r, |
| 691 | struct bundle_list *local_list, |
| 692 | struct bundle_list *global_list, |
| 693 | int depth) |
| 694 | { |
| 695 | struct bundle_list_context ctx = { |
| 696 | .r = r, |
| 697 | .list = global_list, |
| 698 | .depth = depth + 1, |
| 699 | .mode = local_list->mode, |
| 700 | }; |
| 701 | |
| 702 | return for_all_bundles_in_list(local_list, download_bundle_to_file, &ctx); |
| 703 | } |
| 704 | |
| 705 | static int fetch_bundle_list_in_config_format(struct repository *r, |
| 706 | struct bundle_list *global_list, |
no test coverage detected