]> git.ipfire.org Git - thirdparty/git.git/commit
branch: error message checking out a branch in use
authorRubén Justo <rjusto@gmail.com>
Mon, 7 Aug 2023 20:42:40 +0000 (22:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Aug 2023 01:27:30 +0000 (18:27 -0700)
commit2a499264d39c663517a8e4fe7f3abb55fc4a829a
tree24b0b66bb3d64bb211dee17a1e80d63ed78c88c9
parent92edf618709eaee1c3b42481cb478ed00eae1c2b
branch: error message checking out a branch in use

Let's update the error message we show when the user tries to check out
a branch which is being used in another worktree, following the
guideline reasoned in 4970bedef2 (branch: update the message to refuse
touching a branch in-use, 2023-07-21).

Signed-off-by: Rubén Justo <rjusto@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c
t/t2400-worktree-add.sh
t/t3400-rebase.sh