projects
/
git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Merge master.kernel.org:/pub/scm/gitk/gitk
[git]
/
git-verify-tag-script
1
#!/bin/sh
2
GIT_DIR=${GIT_DIR:-.git}
3
4
tag=$1
5
[ -f "$GIT_DIR/refs/tags/$tag" ] && tag=$(cat "$GIT_DIR/refs/tags/$tag")
6
7
git-cat-file tag $tag > .tmp-vtag || exit 1
8
cat .tmp-vtag | sed '/-----BEGIN PGP/Q' | gpg --verify .tmp-vtag -
9
rm -f .tmp-vtag