diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-17 18:13:14 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-06-26 18:18:10 +0200 |
commit | 9c82357be74bc5404038ec3c16706b1805843556 (patch) | |
tree | 6ac361b40e1629136527c4da0427bc1cf213d00d /src/refspec.h | |
parent | 0b10c9ea6ef5d85d862edd044d96561c4fd16e9b (diff) | |
download | libgit2-9c82357be74bc5404038ec3c16706b1805843556.tar.gz |
Add a remotes API
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/refspec.h')
-rw-r--r-- | src/refspec.h | 14 |
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 |