]> git.ipfire.org Git - thirdparty/git.git/commit
refs/reftable: refactor reading symbolic refs to use reftable backend
authorPatrick Steinhardt <ps@pks.im>
Tue, 26 Nov 2024 06:42:57 +0000 (07:42 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Nov 2024 08:18:37 +0000 (17:18 +0900)
commitad6c41f4b7e93f9c16a69d03a32d8f99d8428144
treec68036d5b191ff6122947c673093aad70d4bce32
parent27fdf8f4ed0b76f4c21c6ee1f95886c731c4e196
refs/reftable: refactor reading symbolic refs to use reftable backend

Refactor the callback function that reads symbolic references in the
reftable backend to use `reftable_backend_read_ref()` instead of
accessing the reftable stack directly. This ensures that the function
will benefit from the new caching layer that we're about to introduce.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/reftable-backend.c