aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorRubén Justo <rjusto@gmail.com>2023-02-25 15:22:23 +0100
committerJunio C Hamano <gitster@pobox.com>2023-02-25 13:05:23 -0800
commit894ea945095b74542c6c4f4aefbe20f5b68be437 (patch)
tree665026cff3efa48b4af18e4655e9bd676343f991 /builtin/commit-tree.c
parentrebase: refuse to switch to a branch already checked out elsewhere (test) (diff)
downloadgit-894ea945095b74542c6c4f4aefbe20f5b68be437.tar.gz
git-894ea945095b74542c6c4f4aefbe20f5b68be437.zip
switch: reject if the branch is already checked out elsewhere (test)
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>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions