From: Carlo Arenas Date: Fri, 20 Jan 2023 04:39:41 GMT Subject: Re: [PATCH v3] checkout/switch: disallow checking out same branch in multiple worktrees Message-ID: In-Reply-To: I should have known; the test is affected by the bug Rubén is trying to fix in: https://lore.kernel.org/git/eeb0c778-af0a-235c-f009-bca3abafdb15@gmail.com/ Where the order that the worktrees are found is not deterministic and so the ignore_current_worktree flag to die_if_checked_out() might trigger incorrectly. Carlo