summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
Diffstat (limited to 'git.h')
-rw-r--r--git.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/git.h b/git.h
index 768ec9a..27b6f35 100644
--- a/git.h
+++ b/git.h
@@ -1,6 +1,7 @@
#ifndef GIT_H
#define GIT_H
+#include <git2.h>
#include <stdint.h>
typedef struct git_repo git_repo;
@@ -10,4 +11,7 @@ struct git_repo {
git_repository *repo;
};
+extern void cleanup_git(git_repository **repos);
+extern git_repository **init_git(config *cfg);
+
#endif