Commit 33afca47cbacd0ad6fe4115f29f3e7b58428bc70

Vicent Martí 2011-07-14T06:35:36

Merge pull request #326 from nulltoken/ntk/fix/extern-tag-lightweight tag: Make git_tag_create_lightweight() accessible to bindings

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/tag.h b/include/git2/tag.h
index 3c32661..2b10d45 100644
--- a/include/git2/tag.h
+++ b/include/git2/tag.h
@@ -231,7 +231,7 @@ GIT_EXTERN(int) git_tag_create_frombuffer(
  *	A proper reference is written in the /refs/tags folder,
  *  pointing to the provided target object
  */
-int git_tag_create_lightweight(
+GIT_EXTERN(int) git_tag_create_lightweight(
 		git_oid *oid,
 		git_repository *repo,
 		const char *tag_name,