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>
This commit is contained in:
Christian Hesse 2024-09-26 19:41:29 +02:00
parent 1cb701a9b6
commit c1733e28d9
7 changed files with 12 additions and 12 deletions

View file

@ -212,8 +212,8 @@ void cgit_free_reflist_inner(struct reflist *list)
free(list->refs);
}
int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags,
void *cb_data)
int cgit_refs_cb(const char *refname, const char *referent UNUSED,
const struct object_id *oid, int flags, void *cb_data)
{
struct reflist *list = (struct reflist *)cb_data;
struct refinfo *info = cgit_mk_refinfo(refname, oid);