aboutsummaryrefslogtreecommitdiff
path: root/git-verify-tag.sh
diff options
context:
space:
mode:
Diffstat (limited to 'git-verify-tag.sh')
-rwxr-xr-xgit-verify-tag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-verify-tag.sh b/git-verify-tag.sh
index ed4c89396..3c65f4a6b 100755
--- a/git-verify-tag.sh
+++ b/git-verify-tag.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-. git-sh-setup || die "Not a git archive"
+. git-sh-setup
type="$(git-cat-file -t "$1" 2>/dev/null)" ||
die "$1: no such object."