Skip to content

Commit 59fbaa4

Browse files
committed
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.
1 parent c12bc32 commit 59fbaa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cherrypick/workdir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void test_cherrypick_workdir__empty_result(void)
122122

123123
git_oid_fromstr(&cherry_oid, cherrypick_oid);
124124
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_oid));
125-
cl_git_pass(git_cherrypick(repo, commit, NULL));
125+
cl_git_pass(git_cherry_pick(repo, commit, NULL));
126126

127127
/* The resulting tree should not have changed, the change was already on HEAD */
128128
cl_assert(merge_test_index(repo_index, merge_index_entries, 3));

0 commit comments

Comments
 (0)