aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2024-09-26 19:41:29 +0200
committerChristian Hesse <mail@eworm.de>2024-10-07 17:34:42 +0200
commitc1733e28d91bea5647e11fe099751fbc839669d7 (patch)
tree99f8986536ebc727f86ebfee852910f31b412c97 /cgit.c
parent1cb701a9b615acf2d4a9f5c6c2668cd11343e124 (diff)
downloadcgit-c1733e28d91bea5647e11fe099751fbc839669d7.tar.gz
cgit-c1733e28d91bea5647e11fe099751fbc839669d7.tar.xz
git: update to v2.47.0
Update to git version v2.47.0, this requires changes for these upstream commits: * e8207717f1623325fe1c95338fb03c1104ed5687 refs: add referent to each_ref_fn Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgit.c b/cgit.c
index 2efa962..65c38c0 100644
--- a/cgit.c
+++ b/cgit.c
@@ -448,8 +448,8 @@ struct refmatch {
int match;
};
-static int find_current_ref(const char *refname, const struct object_id *oid,
- int flags, void *cb_data)
+static int find_current_ref(const char *refname, const char *referent UNUSED,
+ const struct object_id *oid, int flags, void *cb_data)
{
struct refmatch *info;