summaryrefslogtreecommitdiff
path: root/tests/libgit2/submodule/update.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2023-05-10 22:50:16 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2023-05-11 13:30:08 +0100
commit0e7ab1c4968629b8d42c193eebda48ef146d8e77 (patch)
treeff246ac9ddc5bef47d25a9d5b5da2e9402f02d64 /tests/libgit2/submodule/update.c
parent2bbcdee6b666f34e83d1cf9ca9badc66258202d6 (diff)
downloadlibgit2-0e7ab1c4968629b8d42c193eebda48ef146d8e77.tar.gz
remote: add git_refspec to update_tipsethomson/update_tips_spec
Diffstat (limited to 'tests/libgit2/submodule/update.c')
-rw-r--r--tests/libgit2/submodule/update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/libgit2/submodule/update.c b/tests/libgit2/submodule/update.c
index 052a4a1fe..d89eff113 100644
--- a/tests/libgit2/submodule/update.c
+++ b/tests/libgit2/submodule/update.c
@@ -71,13 +71,14 @@ static int checkout_notify_cb(
return 0;
}
-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)
{
struct update_submodule_cb_payload *update_payload = data;
GIT_UNUSED(refname);
GIT_UNUSED(a);
GIT_UNUSED(b);
+ GIT_UNUSED(spec);
update_payload->update_tips_called = 1;