summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git.c22
-rw-r--r--git.h4
2 files changed, 26 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;
+
+
+
+}
diff --git a/git.h b/git.h
new file mode 100644
index 0000000..0c63ee9
--- /dev/null
+++ b/git.h
@@ -0,0 +1,4 @@
+#ifndef GIT_H
+#define GIT_H
+
+#endif