Whatever.

This commit is contained in:
Matt A. Tobin
2021-08-19 10:34:01 -04:00
parent 1501f14ae6
commit 1c1c0ac0e3
+2 -1
View File
@@ -94,7 +94,8 @@ elif [ "$1" == "checkout" ] && [ -n "$BINOC_GIT" ]; then
printf "Please use git directly for arbitrary branch switching.\n"
exit 1
else
if [ "`git rev-parse --abbrev-ref HEAD`" != "HEAD"]; then
_commBranch=`git rev-parse --abbrev-ref HEAD`
if [ "$_commBranch" != "HEAD" ]; then
printf "On branch $_commBranch\n"
else
printf "Not currently on a branch. Please use git directly or 'mach checkout (release|absolute-trunk)'.\n"