Do not let errors pass by unnoticed when running `make check'.
[gitweb.git] / git-ls-remote.sh
index f0f0b07f6f8c85219104303d65dabbba80fd3098..f69926862fba15c28933c6dd616065d331b9a89b 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