summaryrefslogtreecommitdiff
path: root/src/other_tools/ops_maps/git_update_map.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-22 16:05:53 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-07-23 10:24:39 +0200
commit4a9c4f50cc0ad0bcd4b26a027c4e80d5d43c9f9d (patch)
treee24499f845a7b4ab4f29eee33a35a976b160b791 /src/other_tools/ops_maps/git_update_map.hpp
parent0aab4ee769211fa90e51926ae4411da29c1c0776 (diff)
downloadjustbuild-4a9c4f50cc0ad0bcd4b26a027c4e80d5d43c9f9d.tar.gz
just-mr: Use statistics and progress instances update map
...instead of using the singletons.
Diffstat (limited to 'src/other_tools/ops_maps/git_update_map.hpp')
-rw-r--r--src/other_tools/ops_maps/git_update_map.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/other_tools/ops_maps/git_update_map.hpp b/src/other_tools/ops_maps/git_update_map.hpp
index 4b043284..cdb9e55a 100644
--- a/src/other_tools/ops_maps/git_update_map.hpp
+++ b/src/other_tools/ops_maps/git_update_map.hpp
@@ -20,9 +20,12 @@
#include <utility>
#include <vector>
+#include "gsl/gsl"
#include "src/buildtool/multithreading/async_map_consumer.hpp"
#include "src/buildtool/storage/config.hpp"
#include "src/other_tools/git_operations/git_repo_remote.hpp"
+#include "src/other_tools/just_mr/progress_reporting/progress.hpp"
+#include "src/other_tools/just_mr/progress_reporting/statistics.hpp"
#include "src/utils/cpp/hash_combine.hpp"
struct RepoDescriptionForUpdating {
@@ -57,6 +60,8 @@ struct hash<RepoDescriptionForUpdating> {
std::string const& git_bin,
std::vector<std::string> const& launcher,
gsl::not_null<StorageConfig const*> const& storage_config,
+ gsl::not_null<JustMRStatistics*> const& stats,
+ gsl::not_null<JustMRProgress*> const& progress,
std::size_t jobs) -> GitUpdateMap;
#endif // INCLUDED_SRC_OTHER_TOOLS_OPS_MAPS_GIT_UPDATE_MAP_HPP