repo.or.cz
/
git
/
gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] Update fsck-cache (take 2)
[git/gitweb.git]
/
git-verify-tag-script
blob
c4992118ecb607f23e5b328cc343ed6df385c0f9
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