summaryrefslogtreecommitdiff
path: root/src/other_tools/git_operations/git_repo_remote.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-09-29 12:16:37 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-02 12:06:50 +0100
commit59988ee056da790018378199e5f0adc69f01de65 (patch)
tree90df2bec7ce6e957f8953084f082ab4bd4cfa42e /src/other_tools/git_operations/git_repo_remote.hpp
parent1f997bfa62e5feac45f84fbc2ae7ee62ffd40f3d (diff)
downloadjustbuild-59988ee056da790018378199e5f0adc69f01de65.tar.gz
GitRepo: Add method for async fetch from local repository
This avoids using the more geenric GitRepoRemote method which has libcurl as a dependency, something that is not needed for this Git operation.
Diffstat (limited to 'src/other_tools/git_operations/git_repo_remote.hpp')
-rw-r--r--src/other_tools/git_operations/git_repo_remote.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/other_tools/git_operations/git_repo_remote.hpp b/src/other_tools/git_operations/git_repo_remote.hpp
index cfe1736d..ac4f59aa 100644
--- a/src/other_tools/git_operations/git_repo_remote.hpp
+++ b/src/other_tools/git_operations/git_repo_remote.hpp
@@ -110,10 +110,6 @@ class GitRepoRemote : public GitRepo {
anon_logger_ptr const& logger) noexcept
-> bool;
- /// \brief Get a snapshot of the repository configuration.
- /// Returns nullptr on errors.
- [[nodiscard]] auto GetConfigSnapshot() const -> std::shared_ptr<git_config>;
-
private:
/// \brief Open "fake" repository wrapper for existing CAS.
explicit GitRepoRemote(GitCASPtr git_cas) noexcept;