git/refs
John Cai cfd971520e refs: keep track of unresolved reference value in iterators
Since ref iterators do not hold onto the direct value of a reference
without resolving it, the only way to get ahold of a direct value of a
symbolic ref is to make a separate call to refs_read_symbolic_ref.

To make accessing the direct value of a symbolic ref more efficient,
let's save the direct value of the ref in the iterators for both the
files backend and the reftable backend.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-08-09 08:47:33 -07:00
..
debug.c Merge branch 'ps/refs-without-the-repository-updates' 2024-05-30 14:15:13 -07:00
files-backend.c refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
iterator.c refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
packed-backend.c global: introduce `USE_THE_REPOSITORY_VARIABLE` macro 2024-06-14 10:26:33 -07:00
packed-backend.h refs: adjust names for `init` and `init_db` callbacks 2024-05-17 10:33:36 -07:00
ref-cache.c refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
ref-cache.h refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
refs-internal.h refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00
reftable-backend.c refs: keep track of unresolved reference value in iterators 2024-08-09 08:47:33 -07:00