diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-10-23 09:16:19 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:32:25 -0800 |
| commit | 705114772e0a0741c3288329bd9ac4e11e38db9a (patch) | |
| tree | c357e79eee935ab33e47f91f20e631227b436827 /ref-filter.c | |
| parent | refs: drop `current_ref_iter` hack (diff) | |
| download | git-705114772e0a0741c3288329bd9ac4e11e38db9a.tar.gz git-705114772e0a0741c3288329bd9ac4e11e38db9a.zip | |
refs: drop infrastructure to peel via iterators
Now that the peeled object ID gets propagated via the `struct reference`
there is no need anymore to call into the reference iterator itself to
dereference an object. Remove this infrastructure.
Most of the changes are straight-forward deletions of code. There is one
exception though in `refs/packed-backend.c::write_with_updates()`. Here
we stop peeling the iterator and instead just pass the peeled object ID
of that iterator directly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
0 files changed, 0 insertions, 0 deletions
