From: Patrick Steinhardt Date: Wed, 11 Nov 2026 12:48:48 GMT Subject: Re: [PATCH v2 0/2] unpack-trees.c w/o the_repository Message-ID: In-Reply-To: <37267fd4-c565-4559-9c5c-01d58cd0426d@gmail.com> On Tue, Nov 10, 2026 at 08:22:26AM -0500, Derrick Stolee wrote: > On 11/9/2026 3:54 PM, Junio C Hamano wrote: > > unpack_trees() API serves as low-level functions to implement merge > > and checkout. It heavily relies on the_repository, making it clear > > it only works with that repository instance. We however can use the > > repository instance pointed at by key data structures passed > > throughout the callchain. > > > > This is almost the exact copy of what I have at > > > > https://lore.kernel.org/git/xmqqtsltbfdv.fsf@gitster.g/ > > > > The only changes since that version are removals of two blank lines. > LGTM. Likewise, I'm happy with this version. Thanks! Patrick