Re: [PATCH 3/8] refs/reftable: read references via `struct reftable_backend`
From: karthik nayak <hidden>
Date: 2024-11-05 11:20:22
Attachments
- signature.asc [application/pgp-signature] 690 bytes
From: karthik nayak <hidden>
Date: 2024-11-05 11:20:22
Patrick Steinhardt [off-list ref] writes:
Refactor `read_ref_without_reload()` to accept a `struct reftable_stack`
Do you mean `struct reftable_backend` here?
as input instead of accepting a `struct reftable_stack`. This allows us to implement an additional caching layer when reading refs where we can reuse reftable iterators.
Nit: This commit also refactors the function to use the newly defined 'REFTABLE_HASH_*'. Maybe worth mentioning in the commit. The patch itself looks good! [snip]