8 ms·
I wonder what use case there would be to checkout the same branch in multiple worktrees. Or you aren’t saying this is a wanted feature, simply that magit shoul
by LeBit 5d ago
I wonder what use case there would be to checkout the same branch in multiple worktrees.
Or you aren’t saying this is a wanted feature, simply that magit should switch to the worktree (like lazitgit behavior)?
- rgoulter 5d ago> I wonder what use case there would be to checkout the same branch in multiple worktrees. I've run into it when I've wanted to checkout that branch (to try running code there, or view a file, or rebase it, or whatever) and there's already a worktree checked out. This is more like treating worktrees as "lightweight clone of the repo checkout out at some dir". (If it were a separate clone, it wouldn't be an issue to have the same branch checked out in two places).