]> git.99rst.org Git - git.git/commit
reftable/stack: open-code reading refs
authorPatrick Steinhardt <redacted>
Thu, 22 Aug 2024 06:34:48 +0000 (08:34 +0200)
committerJunio C Hamano <redacted>
Thu, 22 Aug 2024 14:59:46 +0000 (07:59 -0700)
commitaef860265365052bd0a2aac4cc618be22446fc9d
tree02478ca1d0753a9965290f79a46ae48b64d68173
parentb8ca235ca5fad0421766db7fe2c0f52c6707bf8e
reftable/stack: open-code reading refs

To read a reference for the reftable stack, we first create a generic
`reftable_table` from the merged table and then read the reference via a
convenience function. We are about to remove these generic interfaces,
so let's instead open-code the logic to prepare for this removal.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
reftable/stack.c
git clone https://git.99rst.org/PROJECT