Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/commit-format'
[gitweb.git]
/
git-verify-tag.sh
diff --git
a/git-verify-tag.sh
b/git-verify-tag.sh
index 36f171b3028a3460c1c51f9c1f5747a9a0d2d850..8db7dd0b7d371cfeec84e70ff2a51ccf53a994e7 100755
(executable)
--- a/
git-verify-tag.sh
+++ b/
git-verify-tag.sh
@@
-34,7
+34,10
@@
t)
;;
esac
+trap 'rm -f "$GIT_DIR/.tmp-vtag"' 0
+
git-cat-file tag "$1" >"$GIT_DIR/.tmp-vtag" || exit 1
+
cat "$GIT_DIR/.tmp-vtag" |
sed '/-----BEGIN PGP/Q' |
gpg --verify "$GIT_DIR/.tmp-vtag" - || exit 1