summaryrefslogtreecommitdiff
path: root/Documentation/git-verify-tag.txt
diff options
context:
space:
mode:
authorSantiago Torres <santiago@nyu.edu>2017-01-17 23:37:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-18 00:10:22 (GMT)
commitff3c8c8f124b26559232857fd37b67a0dd99600d (patch)
treede82702fdd1615696d3e33c3b699e20be0346cc4 /Documentation/git-verify-tag.txt
parent2111aa794bb420f767895682232b494d3461ab31 (diff)
downloadgit-ff3c8c8f124b26559232857fd37b67a0dd99600d.zip
git-ff3c8c8f124b26559232857fd37b67a0dd99600d.tar.gz
git-ff3c8c8f124b26559232857fd37b67a0dd99600d.tar.bz2
builtin/verify-tag: add --format to verify-tag
Callers of verify-tag may want to cross-check the tagname from refs/tags with the tagname from the tag object header upon GPG verification. This is to avoid tag refs that point to an incorrect object. Add a --format parameter to git verify-tag to print the formatted tag object header in addition to or instead of the --verbose or --raw GPG verification output. Signed-off-by: Santiago Torres <santiago@nyu.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-verify-tag.txt')
-rw-r--r--Documentation/git-verify-tag.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-verify-tag.txt b/Documentation/git-verify-tag.txt
index d590edc..0b8075d 100644
--- a/Documentation/git-verify-tag.txt
+++ b/Documentation/git-verify-tag.txt
@@ -8,7 +8,7 @@ git-verify-tag - Check the GPG signature of tags
SYNOPSIS
--------
[verse]
-'git verify-tag' <tag>...
+'git verify-tag' [--format=<format>] <tag>...
DESCRIPTION
-----------