diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-09 11:10:18 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-01-10 10:38:38 +0100 |
commit | 6826bdf8031fa28991283cd6266b545d6dd82bcf (patch) | |
tree | 933740f76d510197141f5ebd50e8ff8bf85a192d /src/other_tools/just_mr/main.cpp | |
parent | c9beba5763c98ab0c13e46631aef1e9da1022f0e (diff) | |
download | justbuild-6826bdf8031fa28991283cd6266b545d6dd82bcf.tar.gz |
Just-MR: Fix distdir computation in internal just-mr
This provides the fix already performed for the just-mr script in
the internal just-mr as well. In short, this fix makes sure that the
computation of the content key for distdir repositories is
independent of the presence of the respective archives in CAS.
Diffstat (limited to 'src/other_tools/just_mr/main.cpp')
-rw-r--r-- | src/other_tools/just_mr/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp index 3411349c..374b160b 100644 --- a/src/other_tools/just_mr/main.cpp +++ b/src/other_tools/just_mr/main.cpp @@ -968,8 +968,10 @@ void DefaultReachableRepositories( &critical_git_op_map, &import_to_git_map, arguments.common.jobs); - auto distdir_git_map = CreateDistdirGitMap( - &import_to_git_map, &critical_git_op_map, arguments.common.jobs); + auto distdir_git_map = CreateDistdirGitMap(&content_cas_map, + &import_to_git_map, + &critical_git_op_map, + arguments.common.jobs); auto repos_to_setup_map = CreateReposToSetupMap(config, main, interactive, |