Commit a252b9e245514e46a237ea6b659d751104b9a475

Vicent Marti 2014-06-25T15:14:14

Merge pull request #2439 from ethomson/revert_export 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,