From d2eed1607c87a878e5336c891d44dbc40ef71476 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 21 Jan 2025 15:58:54 +0100 Subject: JustMr: DistdirGitMap: Use serve calls ...instead of EnsureAbsentRootOnServe. And remove unused arguments. --- src/other_tools/just_mr/setup.cpp | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'src/other_tools/just_mr') 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 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, -- cgit v1.2.3