]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/refs-symref-referent'
authorJunio C Hamano <gitster@pobox.com>
Thu, 15 Aug 2024 20:22:15 +0000 (13:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Aug 2024 20:22:15 +0000 (13:22 -0700)
commite7f86cb69de9c3b95c8c8816b51621c1d7910e02
tree5be466f67f045f9c1ab56411e7977ac5e66a4fe7
parent88457a6151ca7bd46ce1a809f9740340b712e242
parenta30ce14a806b6b726ce87fc231a3536e8cc0b0fa
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
19 files changed:
builtin/checkout.c
builtin/describe.c
builtin/name-rev.c
builtin/remote.c
builtin/rev-parse.c
builtin/show-branch.c
builtin/show-ref.c
builtin/submodule--helper.c
builtin/worktree.c
log-tree.c
object-name.c
ref-filter.c
reflog.c
refs.c
refs.h
refs/files-backend.c
refs/refs-internal.h
refs/reftable-backend.c
submodule.c