summaryrefslogtreecommitdiff
path: root/tests/libgit2/network/fetchlocal.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/network/fetchlocal.c')
-rw-r--r--tests/libgit2/network/fetchlocal.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/libgit2/network/fetchlocal.c b/tests/libgit2/network/fetchlocal.c
index dc37c38ab..f45ba8a4a 100644
--- a/tests/libgit2/network/fetchlocal.c
+++ b/tests/libgit2/network/fetchlocal.c
@@ -108,11 +108,12 @@ void test_network_fetchlocal__prune(void)
git_repository_free(repo);
}
-static int update_tips_fail_on_call(const char *ref, const git_oid *old, const git_oid *new, void *data)
+static int update_tips_fail_on_call(const char *ref, const git_oid *old, const git_oid *new, git_refspec *refspec, void *data)
{
GIT_UNUSED(ref);
GIT_UNUSED(old);
GIT_UNUSED(new);
+ GIT_UNUSED(refspec);
GIT_UNUSED(data);
cl_fail("update tips called");
@@ -510,13 +511,14 @@ void test_network_fetchlocal__prune_load_fetch_prune_config(void)
git_repository_free(repo);
}
-static int update_tips_error(const char *ref, const git_oid *old, const git_oid *new, void *data)
+static int update_tips_error(const char *ref, const git_oid *old, const git_oid *new, git_refspec *refspec, void *data)
{
int *callcount = (int *) data;
GIT_UNUSED(ref);
GIT_UNUSED(old);
GIT_UNUSED(new);
+ GIT_UNUSED(refspec);
(*callcount)++;