summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/file_system/git_utils.hpp')
-rw-r--r--src/buildtool/file_system/git_utils.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buildtool/file_system/git_utils.hpp b/src/buildtool/file_system/git_utils.hpp
index b39551fe..10e97d19 100644
--- a/src/buildtool/file_system/git_utils.hpp
+++ b/src/buildtool/file_system/git_utils.hpp
@@ -24,6 +24,7 @@
extern "C" {
struct git_oid;
struct git_odb;
+struct git_repository;
struct git_tree;
struct git_signature;
struct git_object;
@@ -47,6 +48,8 @@ constexpr std::size_t kGitLockNumTries{10};
void odb_closer(gsl::owner<git_odb*> odb);
+void repository_closer(gsl::owner<git_repository*> repository);
+
void tree_closer(gsl::owner<git_tree*> tree);
void signature_closer(gsl::owner<git_signature*> signature);