From: Junio C Hamano Date: Wed, 15 Jul 2026 14:38:31 GMT Subject: Re: [PATCH v2 0/7] refs: remove use of `the_repository` Message-ID: In-Reply-To: <87y0fcfn7v.fsf@emacs.iotcl.com> Toon Claes writes: > Patrick Steinhardt writes: > >> 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. > > Changes are all very straightforward and, except from the small comment > on the commit message of [PATCH 2/7], I approve this series. Sounds very good. Thanks.