summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2019-11-29 14:16:04 -0800
committerDave Lee <davelee.com@gmail.com>2019-11-29 14:19:40 -0800
commitb7cf4b9e481273becdfc785b6b1f3569a636a8bf (patch)
treebad9acdba904f003533b04c2260c23117b1aae1b
parent47dd665a62c3ac826277e6eda1287cf9291e8620 (diff)
downloadlibgit2-b7cf4b9e481273becdfc785b6b1f3569a636a8bf.tar.gz
Fix copy&paste in git_cherrypick_commit docstring
-rw-r--r--include/git2/cherrypick.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/cherrypick.h b/include/git2/cherrypick.h
index 81784b4c8..0e6a252e6 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.
*/