Add a new merge strategy by Fredrik Kuivinen.
[git/jnareb-git.git] / git-verify-tag.sh
blob156c75bb3e4fb0c46ed9bff67b3fb48d795b41fb
1 #!/bin/sh
2 . git-sh-setup || die "Not a git archive"
4 tag=$(git-rev-parse $1) || exit 1
6 git-cat-file tag $tag > .tmp-vtag || exit 1
7 cat .tmp-vtag | sed '/-----BEGIN PGP/Q' | gpg --verify .tmp-vtag - || exit 1
8 rm -f .tmp-vtag