Commit 4e813a8b60de003ca4b516bf5e39d60d6335ad77

Edward Thomson 2014-06-25T09:11:07

Export git_revert_commit

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/revert.h b/include/git2/revert.h
index fc1767c..ab9dd9a 100644
--- a/include/git2/revert.h
+++ b/include/git2/revert.h
@@ -59,7 +59,7 @@ GIT_EXTERN(int) git_revert_init_options(
  * @param merge_options the merge options (or null for defaults)
  * @return zero on success, -1 on failure.
  */
-int git_revert_commit(
+GIT_EXTERN(int) git_revert_commit(
 	git_index **out,
 	git_repository *repo,
 	git_commit *revert_commit,