diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-10-23 09:16:16 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:32:25 -0800 |
| commit | 70b783c3a194746d8b747677615f33b94454146f (patch) | |
| tree | 402b1ef4d4af9b04a5b40a3b32c0735d873f3cc7 /builtin/rev-parse.c | |
| parent | adecd5f0b6fdd40219d5503fdaf46aa8d36a4ff7 (diff) | |
ref-filter: propagate peeled object ID
When queueing a reference in the "ref-filter" subsystem we end up
creating a new ref array item that contains the reference's info. One
bit of info that we always discard though is the peeled object ID, and
because of that we are forced to use `peel_iterated_oid()`.
Refactor the code to propagate the peeled object ID via the ref array,
if available. This allows us to manually peel tags without having to go
through the object database.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/rev-parse.c')
0 files changed, 0 insertions, 0 deletions
