Commit 887c1931a293cc6bb2687fea7a8303ab3e8fbc7e

Edward Thomson 2017-02-04T11:04:30

Merge pull request #4108 from rcjsuen/patch-1 Flag given_opts in git_revert as optional

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 2de1942..82dbadc 100644
--- a/include/git2/revert.h
+++ b/include/git2/revert.h
@@ -75,7 +75,7 @@ GIT_EXTERN(int) git_revert_commit(
  *
  * @param repo the repository to revert
  * @param commit the commit to revert
- * @param given_opts merge flags
+ * @param given_opts the revert options (or null for defaults)
  * @return zero on success, -1 on failure.
  */
 GIT_EXTERN(int) git_revert(