mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-04 19:16:21 -05:00
Since 5883034 (checkout: reject if the branch is already checked out
elsewhere) in normal use, we do not allow multiple worktrees having the
same checked out branch.
A bug has recently been fixed that caused this to not work as expected.
Let's add a test to notice if this changes in the future.
Signed-off-by: Rubén Justo <rjusto@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
5.5 KiB
Executable File
5.5 KiB
Executable File