git-clone: Support changing the origin branch with -o
[git.git] / git-ls-remote.sh
index f0f0b07..f699268 100755 (executable)
@@ -1,12 +1,16 @@
 #!/bin/sh
 #
-. git-sh-setup
 
 usage () {
     echo >&2 "usage: $0 [--heads] [--tags] <repository> <refs>..."
     exit 1;
 }
 
+die () {
+    echo >&2 "$*"
+    exit 1
+}
+
 while case "$#" in 0) break;; esac
 do
   case "$1" in