Rubén Justo <rjusto@xxxxxxxxx> writes: > A message like "branch 'frog' checked out at ..." may be confusing to > the user if the branch 'frog' is not the currently checked out branch, > which may occur while rebasing, bisecting or other operations. Makes sense. Will queue. > > Let's reword those messages as it has been done in 4970bedef2 (branch: > update the message to refuse touching a branch in-use, 2023-07-21). > > Rubén Justo (2): > branch: error message deleting a branch in use > branch: error message checking out a branch in use > > branch.c | 2 +- > builtin/branch.c | 2 +- > t/t2400-worktree-add.sh | 3 ++- > t/t3200-branch.sh | 14 +++++++++++++- > t/t3400-rebase.sh | 2 +- > 5 files changed, 18 insertions(+), 5 deletions(-)