From: Junio C Hamano <gitster@pobox.com>
To: Eric Sunshine <sunshine@sunshineco.com>
Cc: shejialuo <shejialuo@gmail.com>,
AreaZR via GitGitGadget <gitgitgadget@gmail.com>,
git@vger.kernel.org, AreaZR <gfunni234@gmail.com>,
Seija Kijin <doremylover123@gmail.com>,
Patrick Steinhardt <ps@pks.im>
Subject: Re: [PATCH] refs: exit early from the loop if it is not a main worktree
Date: Wed, 18 Dec 2024 22:12:40 -0800 [thread overview]
Message-ID: <xmqqcyhonquf.fsf@gitster.g> (raw)
In-Reply-To: <CAPig+cTf=Lm_yNWQPq2SKfuROhSMMwNVXNmXhags43SRKonwxA@mail.gmail.com> (Eric Sunshine's message of "Thu, 19 Dec 2024 00:54:55 -0500")
Eric Sunshine <sunshine@sunshineco.com> writes:
> However, although I haven't audited the code, I suspect the question
> "are there any linked worktrees" is rare, possibly only asked by
> `refs.c`. And in that case, it is asked only at the start of a
> refs-migration operation.
That matches my gut feeling. Thanks.
next prev parent reply other threads:[~2024-12-19 6:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 2:20 [PATCH] refs: exit early from the loop if it is not a main worktree AreaZR via GitGitGadget
2024-12-18 13:31 ` shejialuo
2024-12-18 23:52 ` Eric Sunshine
2024-12-19 1:10 ` Junio C Hamano
2024-12-19 5:54 ` Eric Sunshine
2024-12-19 6:12 ` Junio C Hamano [this message]
2024-12-27 14:34 ` Patrick Steinhardt
2024-12-27 14:34 ` Patrick Steinhardt
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=xmqqcyhonquf.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=doremylover123@gmail.com \
--cc=gfunni234@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=ps@pks.im \
--cc=shejialuo@gmail.com \
--cc=sunshine@sunshineco.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.