summaryrefslogtreecommitdiff
path: root/src/refspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h
new file mode 100644
index 000000000..230135a4a
--- /dev/null
+++ b/src/refspec.h
@@ -0,0 +1,14 @@
+#ifndef INCLUDE_refspec_h__
+#define INCLUDE_refspec_h__
+
+#include "git2/refspec.h"
+
+struct git_refspec {
+ int force;
+ char *src;
+ char *dst;
+};
+
+int git_refspec_parse(struct git_refspec *refspec, const char *str);
+
+#endif