diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>
committerChristian Hesse <mail@eworm.de>
commit
parent
tree
download
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 '')
-rw-r--r--cgit.h4
1 file changed, 2 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index e0d286d..9146d9a 100644
--- a/cgit.h
+++ b/cgit.h
@@ -346,8 +346,8 @@ extern void strbuf_ensure_end(struct strbuf *sb, char c);
extern void cgit_add_ref(struct reflist *list, struct refinfo *ref);
extern void cgit_free_reflist_inner(struct reflist *list);
-extern int cgit_refs_cb(const char *refname, const struct object_id *oid,
- int flags, void *cb_data);
+extern int cgit_refs_cb(const char *refname, const char *referent UNUSED,
+ const struct object_id *oid, int flags, void *cb_data);
extern void cgit_free_commitinfo(struct commitinfo *info);
extern void cgit_free_taginfo(struct taginfo *info);