diff options
| author | Patrick Steinhardt <ps@pks.im> | 2025-10-23 09:16:19 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-23 09:54:37 -0700 |
| commit | 7ccf60fd583144a5ee8e99eb81ee1703a4b33087 (patch) | |
| tree | c357e79eee935ab33e47f91f20e631227b436827 /replace-object.c | |
| parent | refs: drop `current_ref_iter` hack (diff) | |
| download | git-7ccf60fd583144a5ee8e99eb81ee1703a4b33087.tar.gz git-7ccf60fd583144a5ee8e99eb81ee1703a4b33087.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 'replace-object.c')
0 files changed, 0 insertions, 0 deletions
