vscode-gitlens
vscode-gitlens copied to clipboard
From a worktree shouldn't be allow to attempt to switch to a branch checked out on the default worktree
Steps:
- Have a branch (e.g.
main) checked out on the default worktree - Open a different worktree
- Attempt to switch to
mainfrom that worktree - 🐛 It will give you the following error:
Instead we should not allow you to attempt to switch to that branch.