diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-01-26 10:51:26 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-26 08:26:07 -0800 |
| commit | 317ea9a6c3c134a1bcdee49bbbbf1731c17b967a (patch) | |
| tree | d64034f71e3773f95825eb384be5b8c608c87ca1 /contrib/persistent-https | |
| parent | 2813c97310a998510ad4bcbbf38a774fd6bb5386 (diff) | |
| download | git-317ea9a6c3c134a1bcdee49bbbbf1731c17b967a.tar.gz git-317ea9a6c3c134a1bcdee49bbbbf1731c17b967a.zip | |
treewide: drop uses of `for_each_{loose,packed}_object()`
We're using `for_each_loose_object()` and `for_each_packed_object()` at
a couple of callsites to enumerate all loose and packed objects,
respectively. These functions will be removed in a subsequent commit in
favor of the newly introduced `odb_source_loose_for_each_object()` and
`packfile_store_for_each_object()` replacements.
Prepare for this by refactoring the sites accordingly.
Note that ideally, we'd convert all callsites to use the generic
`odb_for_each_object()` function already. But for some callers this is
not possible (yet), and it would require some significant refactorings
to make this work. Converting these site will thus be deferred to a
later patch series.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
