summaryrefslogtreecommitdiffstats
path: root/volgit.c
diff options
context:
space:
mode:
Diffstat (limited to 'volgit.c')
-rw-r--r--volgit.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/volgit.c b/volgit.c
new file mode 100644
index 0000000..76ae0d7
--- /dev/null
+++ b/volgit.c
@@ -0,0 +1,21 @@
+#include <stdio.h>
+#include <git2.h>
+
+
+int main()
+{
+ git_branch_iterator *it;
+ git_repository *repo;
+
+
+ git_repository_open(&repo,".");
+ git_branch_iterator_new(&it,repo,GIT_BRANCH_LOCAL);
+
+
+
+
+ git_repository_free(repo);
+ git_branch_iterator_free(it);
+
+ return 0;
+}