summaryrefslogtreecommitdiff
path: root/src/refspec.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-07-05 04:31:37 -0700
committerVicent Martí <tanoku@gmail.com>2011-07-05 04:31:37 -0700
commitf12aa9dc5ed04cfe92f1d536314eb03185f67f7d (patch)
treeb720325beef678f7d132280d8f2644277a4e7d86 /src/refspec.h
parent7d69f78897fc079a58059d9a84ab5928161d78cb (diff)
parent0ac2726fdf945792028e59105d8630a91c5d3663 (diff)
downloadlibgit2-f12aa9dc5ed04cfe92f1d536314eb03185f67f7d.tar.gz
Merge pull request #300 from carlosmn/gsoc2011/master
A bit of networking
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