aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorLukas Puehringer <luk.puehringer@gmail.com>2017-01-17 18:37:21 -0500
committerJunio C Hamano <gitster@pobox.com>2017-01-18 11:27:56 -0800
commit07d347cf9ac13c3d1746ae368f6e72afbe82dc15 (patch)
treef524475e3690510b1b14d4929b48c54f21d6c274 /Documentation/git-tag.txt
parentff3c8c8f124b26559232857fd37b67a0dd99600d (diff)
downloadgit-07d347cf9ac13c3d1746ae368f6e72afbe82dc15.tar.gz
builtin/tag: add --format argument for tag -v
Adding --format to git tag -v mutes the default output of the GPG verification and instead prints the formatted tag object. This allows callers to cross-check the tagname from refs/tags with the tagname from the tag object header upon GPG verification. The callback function for for_each_tag_name() didn't allow callers to pass custom data to their callback functions. Add a new opaque pointer to each_tag_name_fn's parameter to allow this. Signed-off-by: Lukas Puehringer <luk.puehringer@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 7ecca8e247..3bb5e3c23f 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -15,7 +15,7 @@ SYNOPSIS
'git tag' [-n[<num>]] -l [--contains <commit>] [--points-at <object>]
[--column[=<options>] | --no-column] [--create-reflog] [--sort=<key>]
[--format=<format>] [--[no-]merged [<commit>]] [<pattern>...]
-'git tag' -v <tagname>...
+'git tag' -v [--format=<format>] <tagname>...
DESCRIPTION
-----------