summaryrefslogtreecommitdiffstats
path: root/reflog.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-08-15 22:22:15 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-15 22:22:15 +0200
commite7f86cb69de9c3b95c8c8816b51621c1d7910e02 (patch)
tree5be466f67f045f9c1ab56411e7977ac5e66a4fe7 /reflog.c
parentMerge branch 'ps/submodule-ref-format' (diff)
parentref-filter: populate symref from iterator (diff)
downloadgit-e7f86cb69de9c3b95c8c8816b51621c1d7910e02.tar.xz
git-e7f86cb69de9c3b95c8c8816b51621c1d7910e02.zip
Merge branch 'jc/refs-symref-referent'
The refs API has been taught to give symref target information to the users of ref iterators, allowing for-each-ref and friends to avoid an extra ref_resolve_* API call per a symbolic ref. * jc/refs-symref-referent: ref-filter: populate symref from iterator refs: add referent to each_ref_fn refs: keep track of unresolved reference value in iterators
Diffstat (limited to 'reflog.c')
-rw-r--r--reflog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/reflog.c b/reflog.c
index eeccd5fab4..875ac1aa66 100644
--- a/reflog.c
+++ b/reflog.c
@@ -300,6 +300,7 @@ int should_expire_reflog_ent_verbose(struct object_id *ooid,
}
static int push_tip_to_list(const char *refname UNUSED,
+ const char *referent UNUSED,
const struct object_id *oid,
int flags, void *cb_data)
{