aboutsummaryrefslogtreecommitdiff
path: root/git-ls-remote.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-ls-remote.sh')
-rwxr-xr-xgit-ls-remote.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-ls-remote.sh b/git-ls-remote.sh
index b7e5d0458..d56cf92eb 100755
--- a/git-ls-remote.sh
+++ b/git-ls-remote.sh
@@ -13,7 +13,7 @@ die () {
}
exec=
-while case "$#" in 0) break;; esac
+while test $# != 0
do
case "$1" in
-h|--h|--he|--hea|--head|--heads)