summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-09-24 11:20:43 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-09-24 11:34:26 +0200
commit59fbaa4b0a0877473e258ef19072cadd86f7ec2e (patch)
tree9d1cbf260783005102a533e5bc8255e3a9c4f227
parentc12bc323f9d49931b22e0d207087cd27032c7c45 (diff)
downloadlibgit2-59fbaa4b0a0877473e258ef19072cadd86f7ec2e.tar.gz
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.
-rw-r--r--tests/cherrypick/workdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cherrypick/workdir.c b/tests/cherrypick/workdir.c
index 36e5a9366..39eeee4c6 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));