diff options
author | Rubén Justo <rjusto@gmail.com> | 2023-02-25 15:22:13 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-25 13:05:23 -0800 |
commit | 279f42fa27b4ffd0b3ac7c9378043eeb413f0f5a (patch) | |
tree | c546240fe0b3db0810c4b831b98b2b7b03ad2adf /commit.c | |
parent | faa4d5983bc1739351f49269660285a2628a3d72 (diff) |
rebase: refuse to switch to a branch already checked out elsewhere (test)
In b5cabb4a9 (rebase: refuse to switch to branch already checked out
elsewhere, 2020-02-23) we add a condition to prevent a rebase operation
involving a switch to a branch that is already checked out in another
worktree.
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 'commit.c')
0 files changed, 0 insertions, 0 deletions