summaryrefslogtreecommitdiff
path: root/include/git2/revert.h
diff options
context:
space:
mode:
authorMichael Anderson <drmikeando@gmail.com>2014-05-22 17:16:21 +0800
committerMichael Anderson <drmikeando@gmail.com>2014-05-23 15:57:20 +0800
commit31b0cb518f11d4ec8a95df54d077d51b05fa899c (patch)
treefa0ddcdaf97f7ee5c6a3c4edb8aa85a4d8549b7a /include/git2/revert.h
parent530594c0aa04df31e3cef331f6dad8083f66f15d (diff)
downloadlibgit2-31b0cb518f11d4ec8a95df54d077d51b05fa899c.tar.gz
Fixed miscellaneous documentation errors.
Diffstat (limited to 'include/git2/revert.h')
-rw-r--r--include/git2/revert.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/git2/revert.h b/include/git2/revert.h
index da37fbe7b..fc1767c93 100644
--- a/include/git2/revert.h
+++ b/include/git2/revert.h
@@ -56,7 +56,7 @@ GIT_EXTERN(int) git_revert_init_options(
* @param revert_commit the commit to revert
* @param our_commit the commit to revert against (eg, HEAD)
* @param mainline the parent of the revert commit, if it is a merge
- * @param merge_tree_opts the merge tree options (or null for defaults)
+ * @param merge_options the merge options (or null for defaults)
* @return zero on success, -1 on failure.
*/
int git_revert_commit(
@@ -71,9 +71,8 @@ int git_revert_commit(
* Reverts the given commit, producing changes in the working directory.
*
* @param repo the repository to revert
- * @param commits the commits to revert
- * @param commits_len the number of commits to revert
- * @param flags merge flags
+ * @param commit the commit to revert
+ * @param given_opts merge flags
* @return zero on success, -1 on failure.
*/
GIT_EXTERN(int) git_revert(