summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-06-12 19:17:55 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-06-12 19:17:55 -0400
commit2e0d9a036ef6f27faa726dc5a2e4e6e2631c4619 (patch)
treef7ea0d706099832091fec1e13bfcff6332b2333b /git.c
parentc5afd11c47aa7bc0a64a6e54345e50ae690218ef (diff)
Start work on the git related code.
Diffstat (limited to 'git.c')
-rw-r--r--git.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/git.c b/git.c
new file mode 100644
index 0000000..61ab0c0
--- /dev/null
+++ b/git.c
@@ -0,0 +1,22 @@
+#include <errno.h>
+#include <fcntl.h>
+#include <git2.h>
+#include <stdint.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <syslog.h>
+#include <unistd.h>
+#include "config.h"
+#include "macros.h"
+
+
+git_repository **init_git(config *cfg) {
+ git_repository **repos;
+ git_repository *repo;
+
+
+
+}