summaryrefslogtreecommitdiff
path: root/tests/libgit2/online/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/online/fetch.c')
-rw-r--r--tests/libgit2/online/fetch.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/libgit2/online/fetch.c b/tests/libgit2/online/fetch.c
index a557bbf75..8e0ed8934 100644
--- a/tests/libgit2/online/fetch.c
+++ b/tests/libgit2/online/fetch.c
@@ -39,9 +39,13 @@ void test_online_fetch__cleanup(void)
git__free(_remote_redirect_subsequent);
}
-static int update_tips(const char *refname, const git_oid *a, const git_oid *b, void *data)
+static int update_tips(const char *refname, const git_oid *a, const git_oid *b, git_refspec *spec, void *data)
{
- GIT_UNUSED(refname); GIT_UNUSED(a); GIT_UNUSED(b); GIT_UNUSED(data);
+ GIT_UNUSED(refname);
+ GIT_UNUSED(a);
+ GIT_UNUSED(b);
+ GIT_UNUSED(spec);
+ GIT_UNUSED(data);
++counter;