diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-02-15 17:12:15 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-02-17 16:27:50 +0100 |
commit | 65944566d8d3ae81d3dc3acb8c82944f5698ca5d (patch) | |
tree | 9700c15732d21dc03fd2f33c600e2ead80694c2c /src/other_tools/root_maps/content_git_map.cpp | |
parent | ebe7695ee5803dd3c2bb4f22f5e12d776c985d56 (diff) | |
download | justbuild-65944566d8d3ae81d3dc3acb8c82944f5698ca5d.tar.gz |
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.
Diffstat (limited to 'src/other_tools/root_maps/content_git_map.cpp')
-rw-r--r-- | src/other_tools/root_maps/content_git_map.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/other_tools/root_maps/content_git_map.cpp b/src/other_tools/root_maps/content_git_map.cpp index 9d1130e5..11adf136 100644 --- a/src/other_tools/root_maps/content_git_map.cpp +++ b/src/other_tools/root_maps/content_git_map.cpp @@ -89,7 +89,7 @@ auto CreateContentGitMap( return; } // open fake repo wrap for GitCAS - auto just_git_repo = GitRepo::Open(op_result.git_cas); + auto just_git_repo = GitRepoRemote::Open(op_result.git_cas); if (not just_git_repo) { (*logger)("Could not open Git cache repository!", /*fatal=*/true); @@ -205,7 +205,8 @@ auto CreateContentGitMap( return; } // fetch all into Git cache - auto just_git_repo = GitRepo::Open(just_git_cas); + auto just_git_repo = + GitRepoRemote::Open(just_git_cas); if (not just_git_repo) { (*logger)( "Could not open Git cache repository!", |