repo.or.cz
/
git
/
fastimport.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] Fix git-commit-script to output on stderr when -v fails
[git/fastimport.git]
/
git-verify-tag-script
blob
6eb650be7a2c0449b3d6bad0a457b085db4cbe09
1
#!/bin/sh
2
. git-sh-setup-script || die
"Not a git archive"
3
4
tag
=
$
(
git-rev-parse
$1
)
||
exit
1
5
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