From: Junio C Hamano <gitster@pobox.com>
To: Christian Couder <christian.couder@gmail.com>
Cc: Patrick Steinhardt <ps@pks.im>,
git@vger.kernel.org, Toon Claes <toon@iotcl.com>
Subject: Re: [PATCH v3 0/6] refs: remove use of `the_repository`
Date: Thu, 16 Jul 2026 07:36:43 -0700 [thread overview]
Message-ID: <xmqqldbbhuh0.fsf@gitster.g> (raw)
In-Reply-To: <CAP8UFD2e15P19_XCVyf-NQHz8Dj8R4UshxzWL-i6R8c6prmc5A@mail.gmail.com> (Christian Couder's message of "Thu, 16 Jul 2026 08:53:05 +0200")
Christian Couder <christian.couder@gmail.com> writes:
> On Thu, Jul 16, 2026 at 7:33 AM Patrick Steinhardt <ps@pks.im> 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, all, for helping this topic. Let's merge it down to 'next',
then.
next prev parent reply other threads:[~2026-07-16 14:36 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 8:29 [PATCH 0/7] refs: remove use of `the_repository` Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 1/7] refs/packed: de-globalize handling of "core.packedRefsTimeout" Patrick Steinhardt
2026-07-09 18:52 ` Junio C Hamano
2026-07-10 5:56 ` Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 2/7] refs/packed: drop `USE_THE_REPOSITORY_VARIABLE` Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 3/7] refs/files: " Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 4/7] worktree: refactor code to use available repositories Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 5/7] worktree: pass repository to file-local functions Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 6/7] worktree: pass repository to public functions Patrick Steinhardt
2026-07-09 8:29 ` [PATCH 7/7] refs: remove remaining uses of `the_repository` Patrick Steinhardt
2026-07-09 20:39 ` [PATCH 0/7] refs: remove use " Junio C Hamano
2026-07-10 5:56 ` Patrick Steinhardt
2026-07-10 6:14 ` Patrick Steinhardt
2026-07-10 16:57 ` Junio C Hamano
2026-07-10 20:24 ` Junio C Hamano
2026-07-10 14:48 ` Junio C Hamano
2026-07-15 7:39 ` [PATCH v2 " Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 1/7] refs/packed: de-globalize handling of "core.packedRefsTimeout" Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 2/7] refs/packed: drop `USE_THE_REPOSITORY_VARIABLE` Patrick Steinhardt
2026-07-15 12:28 ` Toon Claes
2026-07-16 5:32 ` Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 3/7] refs/files: " Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 4/7] worktree: refactor code to use available repositories Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 5/7] worktree: pass repository to file-local functions Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 6/7] worktree: pass repository to public functions Patrick Steinhardt
2026-07-15 7:39 ` [PATCH v2 7/7] refs: remove remaining uses of `the_repository` Patrick Steinhardt
2026-07-15 12:31 ` [PATCH v2 0/7] refs: remove use " Toon Claes
2026-07-15 14:38 ` Junio C Hamano
2026-07-16 5:33 ` [PATCH v3 0/6] " Patrick Steinhardt
2026-07-16 5:33 ` [PATCH v3 1/6] refs/packed: de-globalize handling of "core.packedRefsTimeout" Patrick Steinhardt
2026-07-16 5:33 ` [PATCH v3 2/6] refs/files: drop `USE_THE_REPOSITORY_VARIABLE` Patrick Steinhardt
2026-07-16 5:33 ` [PATCH v3 3/6] worktree: refactor code to use available repositories Patrick Steinhardt
2026-07-16 5:33 ` [PATCH v3 4/6] worktree: pass repository to file-local functions Patrick Steinhardt
2026-07-16 5:33 ` [PATCH v3 5/6] worktree: pass repository to public functions Patrick Steinhardt
2026-07-16 5:33 ` [PATCH v3 6/6] refs: remove remaining uses of `the_repository` Patrick Steinhardt
2026-07-16 6:53 ` [PATCH v3 0/6] refs: remove use " Christian Couder
2026-07-16 14:36 ` Junio C Hamano [this message]
2026-07-16 15:36 ` Toon Claes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqldbbhuh0.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=christian.couder@gmail.com \
--cc=git@vger.kernel.org \
--cc=ps@pks.im \
--cc=toon@iotcl.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox