summaryrefslogtreecommitdiff
path: root/src/branch.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-04-11 03:43:30 -0700
committerVicent Martí <tanoku@gmail.com>2012-04-11 03:43:30 -0700
commit0a20eee9536e8db0ab8d91f426f971f7151aaefa (patch)
tree7b57890c272e66c0f47ed64753eb5cec31f2bffa /src/branch.h
parentb78fb64d2f5c1b9e2e834e05e042271147c8d188 (diff)
parent4615f0f71ba849adef08f7a677842af3e0ee3d53 (diff)
downloadlibgit2-0a20eee9536e8db0ab8d91f426f971f7151aaefa.tar.gz
Merge pull request #619 from nulltoken/topic/branches
Basic branch management API
Diffstat (limited to 'src/branch.h')
-rw-r--r--src/branch.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/branch.h b/src/branch.h
new file mode 100644
index 000000000..d0e5abc8b
--- /dev/null
+++ b/src/branch.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2009-2012 the libgit2 contributors
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+#ifndef INCLUDE_branch_h__
+#define INCLUDE_branch_h__
+
+#include "git2/branch.h"
+
+struct git_branch {
+ char *remote; /* TODO: Make this a git_remote */
+ char *merge;
+};
+
+#endif