aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/verify-commit.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2015-06-21 23:14:38 +0000
committerJunio C Hamano <gitster@pobox.com>2015-06-22 14:20:45 -0700
commita4cc18f2934b8d2f00c7c3e11107acb6bfafe2c6 (patch)
treed01e654e36d66e2abfb3513d9c716be752a22451 /builtin/verify-commit.c
parentverify-tag: add tests (diff)
downloadgit-a4cc18f2934b8d2f00c7c3e11107acb6bfafe2c6.tar.gz
git-a4cc18f2934b8d2f00c7c3e11107acb6bfafe2c6.zip
verify-tag: share code with verify-commit
verify-tag was executing an entirely different codepath than verify-commit, except for the underlying verify_signed_buffer. Move much of the code from check_commit_signature to a generic check_signature function and adjust both codepaths to call it. Update verify-tag to explicitly output the signature text, as we now call verify_signed_buffer with strbufs to catch the output, which prevents it from being printed automatically. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/verify-commit.c')
0 files changed, 0 insertions, 0 deletions