cherrypick: the name is still git_cherry_pick A backported fix makes use of the new name for git_cherry_pick (namely git_cherrypick), but we still need to use the old one in the maint branch.
diff --git a/tests/cherrypick/workdir.c b/tests/cherrypick/workdir.c
index 36e5a93..39eeee4 100644
--- a/tests/cherrypick/workdir.c
+++ b/tests/cherrypick/workdir.c
@@ -122,7 +122,7 @@ void test_cherrypick_workdir__empty_result(void)
git_oid_fromstr(&cherry_oid, cherrypick_oid);
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_oid));
- cl_git_pass(git_cherrypick(repo, commit, NULL));
+ cl_git_pass(git_cherry_pick(repo, commit, NULL));
/* The resulting tree should not have changed, the change was already on HEAD */
cl_assert(merge_test_index(repo_index, merge_index_entries, 3));