summaryrefslogtreecommitdiff
path: root/include/git2/refspec.h
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-13 23:28:51 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-06-13 23:28:51 +0100
commita21bb1aa33e9887c06852db62526895df6091736 (patch)
tree6e05069971f04fb91f36d91818f78a62de93c1b1 /include/git2/refspec.h
parent96ef3d84629ef72fb662d95abbab3de634921678 (diff)
parent86ea6ceda75274621b7d5c3023c5b04da3ab677e (diff)
downloadlibgit2-a21bb1aa33e9887c06852db62526895df6091736.tar.gz
Merge remote-tracking branch 'source/development' into development
Diffstat (limited to 'include/git2/refspec.h')
-rw-r--r--include/git2/refspec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/refspec.h b/include/git2/refspec.h
index 1100e9022..9e84aad99 100644
--- a/include/git2/refspec.h
+++ b/include/git2/refspec.h
@@ -20,6 +20,14 @@
GIT_BEGIN_DECL
/**
+ * Parse a refspec string and create a refspec object
+ *
+ * @param refspec pointer to the refspec structure to be used
+ * @param str the refspec as a string
+ */
+GIT_EXTERN(int) git_refspec_parse(git_refspec *refspec, const char *str);
+
+/**
* Get the source specifier
*
* @param refspec the refspec