summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-12-05 12:58:00 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-12-07 10:00:12 +0100
commit1a2b1958e3570964f1e9666750f9652c63f4c7f8 (patch)
tree65b14262bf0ee017845c94dabc9999fa80215ce0 /src/other_tools/just_mr/setup.cpp
parenta9e40eed5713c118ef0e8960d1637a094ba91ac4 (diff)
downloadjustbuild-1a2b1958e3570964f1e9666750f9652c63f4c7f8.tar.gz
just-mr setup: Allow --fetch-absent also for 'git tree' repositories
Diffstat (limited to 'src/other_tools/just_mr/setup.cpp')
-rw-r--r--src/other_tools/just_mr/setup.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp
index 4f4b6b11..d09f699f 100644
--- a/src/other_tools/just_mr/setup.cpp
+++ b/src/other_tools/just_mr/setup.cpp
@@ -162,8 +162,8 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config,
&import_to_git_map,
&critical_git_op_map,
common_args.jobs);
- auto tree_id_git_map =
- CreateTreeIdGitMap(&git_tree_fetch_map, common_args.jobs);
+ auto tree_id_git_map = CreateTreeIdGitMap(
+ &git_tree_fetch_map, common_args.fetch_absent, common_args.jobs);
auto repos_to_setup_map = CreateReposToSetupMap(config,
main,
interactive,