branch: error message deleting a branch in use
commit92edf618709eaee1c3b42481cb478ed00eae1c2b
authorRubén Justo <rjusto@gmail.com>
Mon, 7 Aug 2023 20:42:36 +0000 (7 22:42 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Aug 2023 21:22:11 +0000 (7 14:22 -0700)
treeaf0bf41e5ab30f3bd0c12cab024782b3be55fa89
parent4970bedef2e077f78baac5c6e825d17786be735b
branch: error message deleting a branch in use

Let's update the error message we show when the user tries to delete 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>
builtin/branch.c
t/t3200-branch.sh