From: Junio C Hamano Date: Thu, 16 May 2024 20:55:42 GMT Subject: Re: [PATCH 10/16] refs: move object peeling into "object.c" Message-ID: In-Reply-To: Patrick Steinhardt writes: > Peeling an object has nothing to do with refs, but we still have the > code in "refs.c". Move it over into "object.c", which is a more natural > place to put it. Yay! Very nice. > Ideally, we'd also move `peel_iterated_oid()` over into "object.c". But > this function is tied to the refs interfaces because it uses a global > ref iterator variable to optimize peeling when the iterator already has > the peeled object ID readily available. Sure.