aboutsummaryrefslogtreecommitdiffstats
path: root/replace-object.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-10-23 09:16:19 +0200
committerJunio C Hamano <gitster@pobox.com>2025-10-23 09:54:37 -0700
commit7ccf60fd583144a5ee8e99eb81ee1703a4b33087 (patch)
treec357e79eee935ab33e47f91f20e631227b436827 /replace-object.c
parentrefs: drop `current_ref_iter` hack (diff)
downloadgit-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