From: Karthik Nayak Date: Thu, 08 Jan 2026 09:30:53 GMT Subject: Re: [PATCH v4 0/7] Improvements for reading object info Message-ID: In-Reply-To: <20260107-b4-pks-odb-read-object-info-improvements-v4-0-b5d55c47082a@pks.im> Patrick Steinhardt writes: > 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!