aboutsummaryrefslogtreecommitdiffstats
path: root/diffcore-rotate.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-26 07:42:56 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-26 17:18:37 +0900
commit27fdf8f4ed0b76f4c21c6ee1f95886c731c4e196 (patch)
tree786df41d3e03a1acd8bf10a125c01ce94ecfca1c /diffcore-rotate.c
parentrefs/reftable: figure out hash via `reftable_stack` (diff)
downloadgit-27fdf8f4ed0b76f4c21c6ee1f95886c731c4e196.tar.gz
git-27fdf8f4ed0b76f4c21c6ee1f95886c731c4e196.zip
refs/reftable: read references via `struct reftable_backend`
Refactor `read_ref_without_reload()` to accept `struct reftable_backend` as parameter instead of `struct reftable_stack`. Rename the function to `reftable_backend_read_ref()` to clarify its scope and move it close to other functions operating on `struct reftable_backend`. This change allows us to implement an additional caching layer when reading refs where we can reuse reftable iterators. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore-rotate.c')
0 files changed, 0 insertions, 0 deletions