Skip to main content

Slightly tidy up the appearance of this message

ID
94d118b
date
2025-04-23 08:26:29+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
15e6198
message
Slightly tidy up the appearance of this message
changed files
1 file, 1 addition, 2 deletions

Changed files

git/gm (520) → git/gm (502)

diff --git a/git/gm b/git/gm
index 29b94af..bd06c49 100755
--- a/git/gm
+++ b/git/gm
@@ -12,8 +12,7 @@ set -o nounset
 #
 if [[ $(gcb) != $(_get_primary_branch) ]]
 then
-  print_info "-> git checkout $(_get_primary_branch)"
-  print_info "   (Was on $(gcb))"
+  print_info "-> git checkout $(_get_primary_branch) (was on $(gcb))"
   git checkout "$(_get_primary_branch)"
 fi