From 65944566d8d3ae81d3dc3acb8c82944f5698ca5d Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Wed, 15 Feb 2023 17:12:15 +0100 Subject: structure cleanup: move remote operations of GitRepo to other_tools... ...in order to not include unwanted dependencies in just proper. The new class extends the GitRepo class used for just's Git tree operations and gets used in all of just-mr's async maps. --- src/other_tools/ops_maps/git_update_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/ops_maps/git_update_map.cpp') diff --git a/src/other_tools/ops_maps/git_update_map.cpp b/src/other_tools/ops_maps/git_update_map.cpp index f2f6c3e5..c68d6f94 100644 --- a/src/other_tools/ops_maps/git_update_map.cpp +++ b/src/other_tools/ops_maps/git_update_map.cpp @@ -27,7 +27,7 @@ auto CreateGitUpdateMap(GitCASPtr const& git_cas, std::size_t jobs) auto /* unused */, auto const& key) { // perform git update commit - auto git_repo = GitRepo::Open(git_cas); // wrap the tmp odb + auto git_repo = GitRepoRemote::Open(git_cas); // wrap the tmp odb if (not git_repo) { (*logger)( fmt::format("Failed to open tmp Git repository for remote {}", -- cgit v1.2.3