summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit-ls-remote.sh2
-rwxr-xr-xgit-parse-remote.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/git-ls-remote.sh b/git-ls-remote.sh
index bfbd5a4..f0f0b07 100755
--- a/git-ls-remote.sh
+++ b/git-ls-remote.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
usage () {
echo >&2 "usage: $0 [--heads] [--tags] <repository> <refs>..."
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index 4d8a572..5e75e15 100755
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
get_data_source () {
case "$1" in