Commit d298f9b2879170612dff7512c8c20e64baad69d1

Edward Thomson 2019-12-01T14:11:56

Merge pull request #5315 from kastiglione/dl/fix-copypaste-in-git_cherrypick_commit-docstring 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.
  */