Re: [PATCH] refs: exit early from the loop if it is not a main worktree
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 19, 2024, 06:12 UTC
- Message-ID
- <xmqqcyhonquf.fsf@gitster.g>
- In-Reply-To
- <CAPig+cTf=Lm_yNWQPq2SKfuROhSMMwNVXNmXhags43SRKonwxA@mail.gmail.com>
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.