Re: [PATCH v3 1/2] fetch: Protect branches checked out in all worktrees
- From
Bagas Sanjaya <bagasdotme@gmail.com>
- Date
- Nov 9, 2021, 05:19 UTC
- Message-ID
- <a1acda2b-7cd0-0c1a-8c60-681d79418872@gmail.com>
- In-Reply-To
- <alpine.DEB.2.21.999.2111081514460.100671@scrubbing-bubbles.mit.edu>
On 09/11/21 03.15, Anders Kaseorg wrote:
> As a side effect of using find_shared_symref, we’ll also refuse the > fetch when we’re on a detached HEAD because we’re rebasing or bisecting > on the branch in question. This seems like a sensible change. >
We can say "we'll also refuse fetching when we're on a detached HEAD (for example if we're rebasing on the branch in question or bisecting)."
-- An old man doll... just what I always wanted! - Clara