summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorLibravatar Lukas Puehringer <luk.puehringer@gmail.com>2017-01-17 18:37:21 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-18 11:27:56 -0800
commit07d347cf9ac13c3d1746ae368f6e72afbe82dc15 (patch)
treef524475e3690510b1b14d4929b48c54f21d6c274 /diff.h
parentbuiltin/verify-tag: add --format to verify-tag (diff)
downloadtgif-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 'diff.h')
0 files changed, 0 insertions, 0 deletions