Staging
v0.5.1
https://github.com/git/git
Revision f7a2eb735982e921ae4379f1dcf5f7a023610393 authored by Junio C Hamano on 12 November 2005, 06:37:38 UTC, committed by Junio C Hamano on 12 November 2005, 06:37:38 UTC
This is GIT 1.0-rc1 in disguise.  It is plausible that
relatively new parts of the system still need tweaking and
fixing, but that is why it is not 1.0 but rc ;-).

Signed-off-by: Junio C Hamano <junkio@cox.net>
2 parent s 23ea3e2 + 7765e7e
Raw File
Tip revision: f7a2eb735982e921ae4379f1dcf5f7a023610393 authored by Junio C Hamano on 12 November 2005, 06:37:38 UTC
GIT 0.99.9h
Tip revision: f7a2eb7
git-verify-tag.sh
#!/bin/sh
. git-sh-setup || die "Not a git archive"

type="$(git-cat-file -t "$1" 2>/dev/null)" ||
	die "$1: no such object."

test "$type" = tag ||
	die "$1: cannot verify a non-tag object of type $type."

git-cat-file tag "$1" > .tmp-vtag || exit 1
cat .tmp-vtag | sed '/-----BEGIN PGP/Q' | gpg --verify .tmp-vtag - || exit 1
rm -f .tmp-vtag
back to top