diff options
author | Lukas Puehringer <luk.puehringer@gmail.com> | 2017-01-17 18:37:21 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-18 11:27:56 -0800 |
commit | 07d347cf9ac13c3d1746ae368f6e72afbe82dc15 (patch) | |
tree | f524475e3690510b1b14d4929b48c54f21d6c274 /date.c | |
parent | builtin/verify-tag: add --format to verify-tag (diff) | |
download | tgif-07d347cf9ac13c3d1746ae368f6e72afbe82dc15.tar.xz |
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 'date.c')
0 files changed, 0 insertions, 0 deletions