From: Christian Couder Date: Thu, 16 Jul 2026 06:53:05 GMT Subject: Re: [PATCH v3 0/6] refs: remove use of `the_repository` Message-ID: In-Reply-To: <20260716-pks-refs-wo-the-repository-v3-0-db0a804e0224@pks.im> On Thu, Jul 16, 2026 at 7:33 AM Patrick Steinhardt wrote: > > Hi, > > this patch series refactors the ref subsystem to drop uses of > `the_repository`. These patches were part of a discarded attempt to > make the initialization of the refdb eager. I guess they make sense by > themselves though, so here we go. > > Note that these patches contain a slight tangent to also adapt > "worktree.c". This is one of the subsystems that caused problems with > eager refdb initialization because of `has_worktrees()`, so I refactored > this subsystem while at it. The changes in this series look good to me too. Thanks.