]> git.ipfire.org Git - thirdparty/git.git/commit
refs: add referent to each_ref_fn
authorJohn Cai <johncai86@gmail.com>
Fri, 9 Aug 2024 15:37:50 +0000 (15:37 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 9 Aug 2024 15:47:34 +0000 (08:47 -0700)
commite8207717f1623325fe1c95338fb03c1104ed5687
tree34319690ba1f02ab7f2a45297c79580fa3e6f853
parentcfd971520ed11096aaa11f6bd1ee99b307f3146c
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 <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
48 files changed:
bisect.c
builtin/bisect.c
builtin/checkout.c
builtin/describe.c
builtin/fetch.c
builtin/fsck.c
builtin/gc.c
builtin/name-rev.c
builtin/pack-objects.c
builtin/receive-pack.c
builtin/remote.c
builtin/repack.c
builtin/replace.c
builtin/rev-parse.c
builtin/show-branch.c
builtin/show-ref.c
builtin/submodule--helper.c
builtin/worktree.c
commit-graph.c
delta-islands.c
fetch-pack.c
help.c
http-backend.c
log-tree.c
ls-refs.c
midx-write.c
negotiator/default.c
negotiator/skipping.c
notes.c
object-name.c
pseudo-merge.c
reachable.c
ref-filter.c
reflog.c
refs.c
refs.h
refs/files-backend.c
refs/iterator.c
remote.c
replace-object.c
revision.c
server-info.c
shallow.c
submodule.c
t/helper/test-ref-store.c
upload-pack.c
walker.c
worktree.c