Commit b7cf4b9e481273becdfc785b6b1f3569a636a8bf

Dave Lee 2019-11-29T14:16:04

Fix copy&paste in git_cherrypick_commit docstring

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/include/git2/cherrypick.h b/include/git2/cherrypick.h
index 81784b4..0e6a252 100644
--- a/include/git2/cherrypick.h
+++ b/include/git2/cherrypick.h
@@ -59,8 +59,8 @@ GIT_EXTERN(int) git_cherrypick_options_init(
  * @param out pointer to store the index result in
  * @param repo the repository that contains the given commits
  * @param cherrypick_commit the commit to cherry-pick
- * @param our_commit the commit to revert against (eg, HEAD)
- * @param mainline the parent of the revert commit, if it is a merge
+ * @param our_commit the commit to cherry-pick against (eg, HEAD)
+ * @param mainline the parent of the `cherrypick_commit`, if it is a merge
  * @param merge_options the merge options (or null for defaults)
  * @return zero on success, -1 on failure.
  */