diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-11-26 07:42:56 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-11-26 17:18:37 +0900 |
| commit | 27fdf8f4ed0b76f4c21c6ee1f95886c731c4e196 (patch) | |
| tree | 786df41d3e03a1acd8bf10a125c01ce94ecfca1c /compat/regex/regex_internal.c | |
| parent | 3ec8022bb0bd20da40e9d4a173331ac864d1bd28 (diff) | |
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 'compat/regex/regex_internal.c')
0 files changed, 0 insertions, 0 deletions
