summaryrefslogtreecommitdiff
path: root/src/refspec.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-10-02 14:36:59 +0200
committernulltoken <emeric.fermas@gmail.com>2012-10-25 17:42:34 +0200
commitfb39b3a54cfedd1e414dc86f6ff5f9af9190c97b (patch)
tree22a78d38e8c289cf94f065b8dd873819c96f31b5 /src/refspec.h
parent4fe5520a10eba1509d41daa4bacf3da9a8580d9b (diff)
downloadlibgit2-fb39b3a54cfedd1e414dc86f6ff5f9af9190c97b.tar.gz
refspec: introduce git_refspec__serialize()
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h
index 6e0596a55..40da16afc 100644
--- a/src/refspec.h
+++ b/src/refspec.h
@@ -51,4 +51,6 @@ int git_refspec_transform_r(git_buf *out, const git_refspec *spec, const char *n
*/
int git_refspec_transform_l(git_buf *out, const git_refspec *spec, const char *name);
+int git_refspec__serialize(git_buf *out, const git_refspec *refspec);
+
#endif