summaryrefslogtreecommitdiff
path: root/run_and_record
diff options
context:
space:
mode:
Diffstat (limited to 'run_and_record')
-rw-r--r--run_and_record/c++/git.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/run_and_record/c++/git.hpp b/run_and_record/c++/git.hpp
index c145e01..7b1dd8f 100644
--- a/run_and_record/c++/git.hpp
+++ b/run_and_record/c++/git.hpp
@@ -10,6 +10,7 @@ namespace kel {
saw::error_or<saw::data<sch::RarGit>> is_clean_git_repo(){
saw::data<sch::RarGit> git_data;
+ git_libgit2_init();
git_repository *repo = nullptr;
{
int error = git_repository_open_ext(&repo, ".", 0, nullptr);