Skip to content

Commit b7cf4b9

Browse files
committed
Fix copy&paste in git_cherrypick_commit docstring
1 parent 47dd665 commit b7cf4b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/git2/cherrypick.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ GIT_EXTERN(int) git_cherrypick_options_init(
5959
* @param out pointer to store the index result in
6060
* @param repo the repository that contains the given commits
6161
* @param cherrypick_commit the commit to cherry-pick
62-
* @param our_commit the commit to revert against (eg, HEAD)
63-
* @param mainline the parent of the revert commit, if it is a merge
62+
* @param our_commit the commit to cherry-pick against (eg, HEAD)
63+
* @param mainline the parent of the `cherrypick_commit`, if it is a merge
6464
* @param merge_options the merge options (or null for defaults)
6565
* @return zero on success, -1 on failure.
6666
*/

0 commit comments

Comments
 (0)