Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
shell.c: complain on insufficient arguments.
[gitweb.git]
/
git-verify-tag.sh
diff --git
a/git-verify-tag.sh
b/git-verify-tag.sh
index ed4c89396841d8292185b0504ef62ef36007f354..3c65f4a6b51707601bc8f66657e6e79cc33094fd 100755
(executable)
--- 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."