git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Eric SunshineNext: Patrick Steinhardt
Message 6 of 8 in “refs: exit early from the loop if it is not a main worktree”
  1. refs: exit early from the loop if it is not a main worktreeAreaZR via GitGitGadget, Dec 18, 2024
  2. shejialuoDec 18, 2024
  3. Eric SunshineDec 18, 2024
  4. Junio C HamanoDec 19, 2024
  5. Eric SunshineDec 19, 2024
  6. Junio C HamanoDec 19, 2024
  7. Patrick SteinhardtDec 27, 2024
  8. Patrick SteinhardtDec 27, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.