]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-ls-remote.sh
sha1_to_hex: properly terminate the SHA1
[thirdparty/git.git] / git-ls-remote.sh
index dc6a775a9be83cfd349773b07051cd256d5ea114..f69926862fba15c28933c6dd616065d331b9a89b 100755 (executable)
@@ -6,6 +6,11 @@ usage () {
     exit 1;
 }
 
+die () {
+    echo >&2 "$*"
+    exit 1
+}
+
 while case "$#" in 0) break;; esac
 do
   case "$1" in