diff --git a/src/utility/git-utils.sh b/src/utility/git-utils.sh index 017f6b8c..2470e52e 100644 --- a/src/utility/git-utils.sh +++ b/src/utility/git-utils.sh @@ -141,7 +141,7 @@ function hasRemoteTag() { function remoteTagsSorted() { local remote="origin" - if (($# > 1)); then + if (($# > 0)); then remote=$1 shift || die "could not shift by 1" fi