From e8207717f1623325fe1c95338fb03c1104ed5687 Mon Sep 17 00:00:00 2001 From: John Cai Date: Fri, 9 Aug 2024 15:37:50 +0000 Subject: refs: add referent to each_ref_fn Add a parameter to each_ref_fn so that callers to the ref APIs that use this function as a callback can have acess to the unresolved value of a symbolic ref. Signed-off-by: John Cai Signed-off-by: Junio C Hamano --- notes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notes.c') diff --git a/notes.c b/notes.c index 1ba6412aae..da42df282d 100644 --- a/notes.c +++ b/notes.c @@ -932,7 +932,7 @@ out: return ret; } -static int string_list_add_one_ref(const char *refname, +static int string_list_add_one_ref(const char *refname, const char *referent UNUSED, const struct object_id *oid UNUSED, int flag UNUSED, void *cb) { -- cgit v1.2.3