summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-16 17:11:05 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-03-20 11:10:05 +0100
commit04b74d12248b1c0bbba7de85ee38931cc7b93c96 (patch)
treeb038636028fb3b5acba04941675a0b97c4646b1b /src
parent8f694cb2f9127ff515500c5eb878bb0dcad2899a (diff)
downloadjustbuild-04b74d12248b1c0bbba7de85ee38931cc7b93c96.tar.gz
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 <paul.cristian.sarbu@huawei.com>
Diffstat (limited to 'src')
-rw-r--r--src/other_tools/just_mr/main.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> 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