From 04b74d12248b1c0bbba7de85ee38931cc7b93c96 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 16 Mar 2023 17:11:05 +0100 Subject: just-mr: avoid fetching unnecessary repositories ... by only taking the additional roots from the reachable repositories, not also from the additional roots discovered that way. Co-authored-by: Paul Cristian Sarbu --- src/other_tools/just_mr/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp index fee0274c..53711136 100644 --- a/src/other_tools/just_mr/main.cpp +++ b/src/other_tools/just_mr/main.cpp @@ -523,7 +523,7 @@ void ReachableRepositories( // Add overlay repositories std::unordered_set setup_repos_set{include_repos_set}; - for (auto const& repo : setup_repos->to_include) { + for (auto const& repo : include_repos_set) { auto repos_repo = repos->Get(repo, Expression::none_t{}); if (repos_repo.IsNotNull()) { // copy over any present alternative root dirs -- cgit v1.2.3