From 3ba58a5a3cebb2631b0700925e576ace0c2154d0 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 13 Feb 2026 20:08:56 +0000 Subject: git: update to v2.53.0 --- cgit.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index d897e26..579db64 100644 --- a/cgit.c +++ b/cgit.c @@ -448,16 +448,15 @@ struct refmatch { int match; }; -static int find_current_ref(const char *refname, const char *referent, - const struct object_id *oid, int flags, void *cb_data) +static int find_current_ref(const struct reference *ref, void *cb_data) { struct refmatch *info; info = (struct refmatch *)cb_data; - if (!strcmp(refname, info->req_ref)) + if (!strcmp(ref->name, info->req_ref)) info->match = 1; if (!info->first_ref) - info->first_ref = xstrdup(refname); + info->first_ref = xstrdup(ref->name); return info->match; } -- cgit v1.2.3-freya