git switch -c message improvement suggestion

From: Ed Avis <hidden>
Date: 2020-07-03 08:38:14

I think that git switch -c could tell you not only that you already created the branch, but you already switched to it!

% git switch -c branch1
% git switch -c branch1
fatal: A branch named 'branch1' already exists, and you are already on it

-- 
Ed Avis [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help