Re: [PATCH v2 0/7] refs: remove use of `the_repository`
- From
Toon Claes <toon@iotcl.com>
- Date
- Jul 15, 2026, 12:31 UTC
- Message-ID
- <87y0fcfn7v.fsf@emacs.iotcl.com>
- In-Reply-To
- <20260715-pks-refs-wo-the-repository-v2-0-d00d364f5a3e@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 11 quoted lines
> 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.
-- Cheers, Toon