summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2025-01-21 15:58:54 +0100
committerMaksim Denisov <denisov.maksim@huawei.com>2025-01-23 16:50:37 +0100
commitd2eed1607c87a878e5336c891d44dbc40ef71476 (patch)
tree5b121b6d29c39a9d6391791f1de00f16d10b746a /src/other_tools/just_mr
parent2f227907de0858dd18d7151252373002f482a6da (diff)
downloadjustbuild-d2eed1607c87a878e5336c891d44dbc40ef71476.tar.gz
JustMr: DistdirGitMap: Use serve calls
...instead of EnsureAbsentRootOnServe. And remove unused arguments.
Diffstat (limited to 'src/other_tools/just_mr')
-rw-r--r--src/other_tools/just_mr/setup.cpp21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp
index 0f2b928a..07f74620 100644
--- a/src/other_tools/just_mr/setup.cpp
+++ b/src/other_tools/just_mr/setup.cpp
@@ -386,17 +386,16 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config,
common_args.just_path ? common_args.just_path->string()
: kDefaultJustPath);
- auto distdir_git_map = CreateDistdirGitMap(
- &content_cas_map,
- &import_to_git_map,
- &critical_git_op_map,
- serve ? &*serve : nullptr,
- &native_storage_config,
- compat_storage_config != nullptr ? &*compat_storage_config : nullptr,
- &native_storage,
- &(*apis.local),
- has_remote_api ? &*apis.remote : nullptr,
- common_args.jobs);
+ auto distdir_git_map =
+ CreateDistdirGitMap(&content_cas_map,
+ &import_to_git_map,
+ &critical_git_op_map,
+ serve ? &*serve : nullptr,
+ &native_storage_config,
+ &native_storage,
+ &(*apis.local),
+ has_remote_api ? &*apis.remote : nullptr,
+ common_args.jobs);
auto tree_id_git_map = CreateTreeIdGitMap(
&git_tree_fetch_map,