Do not mention using the default branch if using local.

This commit is contained in:
2025-10-25 14:58:03 -07:00
parent 816a0d4f69
commit c46c78519b

View File

@@ -47,7 +47,7 @@ if [[ ! -z $1 && $1 != "-"* ]]; then
usage 1
fi
if [[ $branch == "" ]]; then
if [[ -z "$local" && "$branch" == "" ]]; then
echo "Using default branch $BRANCH."
branch="$BRANCH"
fi