Commit 59fbaa4b by Carlos Martín Nieto

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.
parent c12bc323
...@@ -122,7 +122,7 @@ void test_cherrypick_workdir__empty_result(void) ...@@ -122,7 +122,7 @@ void test_cherrypick_workdir__empty_result(void)
git_oid_fromstr(&cherry_oid, cherrypick_oid); git_oid_fromstr(&cherry_oid, cherrypick_oid);
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_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 */ /* The resulting tree should not have changed, the change was already on HEAD */
cl_assert(merge_test_index(repo_index, merge_index_entries, 3)); cl_assert(merge_test_index(repo_index, merge_index_entries, 3));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment