summaryrefslogtreecommitdiff
path: root/run_and_record
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-11-07 15:17:04 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-11-07 15:17:04 +0100
commitca8d14bf09d9f863b0b3246cd6805a4ea9e571af (patch)
tree9e0ac018a048eb8e27aff74975a2d23d5ec8aa68 /run_and_record
parent136966aeac7ac000d5b0aadc689e40a61aa5efd5 (diff)
downloadapps-science_tools-ca8d14bf09d9f863b0b3246cd6805a4ea9e571af.tar.gz
Making repo clean for testing
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);