Re: [PATCH v7 5/8] fetch: protect branches checked out in all worktrees
- From
Anders Kaseorg <andersk@mit.edu>
- Date
- Dec 2, 2021, 08:37 UTC
- Message-ID
- <736c137a-1d41-e5bb-1424-959992e54e8c@mit.edu>
- In-Reply-To
- <CAPig+cQudoq3QrF29W8p511s1rPtgZajtk1Rjm+N2SgoLY-Ltw@mail.gmail.com>
On 12/1/21 18:51, Eric Sunshine wrote:
> Minor observation: The "checked out in another worktree" message would > be much more helpful if it mentioned the worktree itself...
Previous discussion of that: https://lore.kernel.org/git/YYTtdZblnHYgDgBq@coredump.intra.peff.net/ and replies.
In short, this message seems to be unreachable because the other message will always be triggered first, so I didn’t spend much effort improving it. As you say, we can leave the task of sorting out the apparently duplicate check to another series.
Anders