Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-10 20:03:09 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2014-10-10 20:03:09 +0400
commit942a7b39edad519748456ddce97cf77a93c9babc (patch)
tree74e64a9b3b6e4363e71937480f94f1f57f801c16 /tests/cherrypick
parent4c0c001529426771d6a208af317df19d08d86434 (diff)
Fix test build
Some PRs have fallen out of sync with the changes in signatures, so we need to take a few extra parameters into account.
Diffstat (limited to 'tests/cherrypick')
-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 9302186b5..86a385d16 100644
--- a/tests/cherrypick/workdir.c
+++ b/tests/cherrypick/workdir.c
@@ -118,7 +118,7 @@ void test_cherrypick_workdir__empty_result(void)
cl_assert(git_path_exists(TEST_REPO_PATH "/file4.txt"));
cl_git_pass(git_commit_lookup(&head, repo, &head_oid));
- cl_git_pass(git_reset(repo, (git_object *)head, GIT_RESET_HARD, NULL, NULL));
+ cl_git_pass(git_reset(repo, (git_object *)head, GIT_RESET_HARD, NULL, NULL, NULL));
git_oid_fromstr(&cherry_oid, cherrypick_oid);
cl_git_pass(git_commit_lookup(&commit, repo, &cherry_oid));