X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-ls-remote.sh;h=f69926862fba15c28933c6dd616065d331b9a89b;hb=ee34518d629331dadd58b1a75294369d679eda8b;hp=f0f0b07f6f8c85219104303d65dabbba80fd3098;hpb=8ac3a61f59173d4a9a328518be83a25df610a5ef;p=git.git diff --git a/git-ls-remote.sh b/git-ls-remote.sh index f0f0b07f..f6992686 100755 --- a/git-ls-remote.sh +++ b/git-ls-remote.sh @@ -1,12 +1,16 @@ #!/bin/sh # -. git-sh-setup usage () { echo >&2 "usage: $0 [--heads] [--tags] ..." exit 1; } +die () { + echo >&2 "$*" + exit 1 +} + while case "$#" in 0) break;; esac do case "$1" in