#!/bin/sh USAGE='<tag>' SUBDIRECTORY_OK='Yes' . git-sh-setup verbose= while test $# != 0 do case "$1" in -v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose) verbose=t ;; *) break ;; esac shift done if [ "$#" != "1" ] then usage fi 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." case "$verbose" in t) git cat-file -p "$1" | sed -n -e '/^-----BEGIN PGP SIGNATURE-----/q' -e p ;; esac trap 'rm -f "$GIT_DIR/.tmp-vtag"' 0 git cat-file tag "$1" >"$GIT_DIR/.tmp-vtag" || exit 1 sed -n -e ' /^-----BEGIN PGP SIGNATURE-----$/q p ' <"$GIT_DIR/.tmp-vtag" | gpg --verify "$GIT_DIR/.tmp-vtag" - || exit 1 rm -f "$GIT_DIR/.tmp-vtag"
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
README | File | 167 B | 0644 |
|
builtin-fetch--tool.c | File | 12.75 KB | 0644 |
|
git-am.sh | File | 23.81 KB | 0644 |
|
git-checkout.sh | File | 7.44 KB | 0644 |
|
git-clean.sh | File | 2.21 KB | 0644 |
|
git-clone.sh | File | 12.41 KB | 0644 |
|
git-commit.sh | File | 14.05 KB | 0644 |
|
git-difftool.perl | File | 12.46 KB | 0644 |
|
git-fetch.sh | File | 8.9 KB | 0644 |
|
git-gc.sh | File | 594 B | 0644 |
|
git-log.sh | File | 372 B | 0644 |
|
git-ls-remote.sh | File | 2.49 KB | 0644 |
|
git-merge-ours.sh | File | 338 B | 0644 |
|
git-merge.sh | File | 14.09 KB | 0644 |
|
git-notes.sh | File | 2.65 KB | 0644 |
|
git-pull.sh | File | 10.25 KB | 0644 |
|
git-remote.perl | File | 10.14 KB | 0644 |
|
git-repack.sh | File | 4.88 KB | 0644 |
|
git-rerere.perl | File | 6.05 KB | 0644 |
|
git-reset.sh | File | 2.25 KB | 0644 |
|
git-resolve.sh | File | 2.66 KB | 0644 |
|
git-revert.sh | File | 4.59 KB | 0644 |
|
git-svnimport.perl | File | 24.39 KB | 0644 |
|
git-svnimport.txt | File | 5.26 KB | 0644 |
|
git-tag.sh | File | 3.93 KB | 0644 |
|
git-verify-tag.sh | File | 749 B | 0644 |
|
git-whatchanged.sh | File | 924 B | 0644 |
|