git-verify-tag-scripton commit Start of "git-send-pack", the local part of sending off a pack (6122147)
   1#!/bin/sh
   2GIT_DIR=${GIT_DIR:-.git}
   3
   4tag=$1
   5[ -f "$GIT_DIR/refs/tags/$tag" ] && tag=$(cat "$GIT_DIR/refs/tags/$tag")
   6
   7git-cat-file tag $tag > .tmp-vtag || exit 1
   8cat .tmp-vtag | sed '/-----BEGIN PGP/Q' | gpg --verify .tmp-vtag -
   9rm -f .tmp-vtag