summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/fetch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-19 15:43:07 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-23 10:24:39 +0200
commit0aab4ee769211fa90e51926ae4411da29c1c0776 (patch)
tree71536e7132bddc5a3d6b4bf93583e40f405dc304 /src/other_tools/just_mr/fetch.cpp
parentec5e4b0290edff5d9589898493cd7d08f3fb5cd3 (diff)
downloadjustbuild-0aab4ee769211fa90e51926ae4411da29c1c0776.tar.gz
just-mr: Use statistics instance in fetch map
...instead of using the singleton.
Diffstat (limited to 'src/other_tools/just_mr/fetch.cpp')
-rw-r--r--src/other_tools/just_mr/fetch.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp
index 2e4346da..11a11306 100644
--- a/src/other_tools/just_mr/fetch.cpp
+++ b/src/other_tools/just_mr/fetch.cpp
@@ -497,6 +497,7 @@ auto MultiRepoFetch(std::shared_ptr<Configuration> const& config,
&(*apis.local),
(fetch_args.backup_to_remote and has_remote_api) ? &*apis.remote
: nullptr,
+ &JustMRStatistics::Instance(),
common_args.jobs);
auto import_to_git_map =