Re: [PATCH v4 0/7] Improvements for reading object info
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Jan 8, 2026, 09:30 UTC
- Message-ID
- <CAOLa=ZTOG7UGzch9y8-15QUDmMMSR4HqdRMyO-izSriLrKBM5g@mail.gmail.com>
- In-Reply-To
- <20260107-b4-pks-odb-read-object-info-improvements-v4-0-b5d55c47082a@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 14 quoted lines
> Hi, > > this patch series contains various small improvements for reading object > info for either loose or packed objects. These improvements were split > out of a larger patch series where I'm about to introduce a new generic > `odb_for_each_object()` function. > > Changes in v4: > - Extend the fix for OI_LOOSE and refactor the whole function to have > a single exit path as proposed by Karthik. This results in a lot > more changes, but makes the function way easier to reason about > going forward. > - Link to v3: https://lore.kernel.org/r/20260106-b4-pks-odb-read-object-info-improvements-v3-0-b5e02fae1fb0@pks.im >
I had a look at the first commit which was changed in this version and it looks much nicer now. Thanks!