diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-10 20:27:33 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-10 20:27:34 +0200 |
commit | 39177c7f184b4c07a1f53f99f59c920c3fb6222d (patch) | |
tree | 1a536ab74526d6aaa089b4e72742b4b3686c89fe /commit.c | |
parent | Merge branch 'jc/fix-clone-single-starting-at-a-tag' (diff) | |
parent | t7510: test verify-commit (diff) | |
download | git-39177c7f184b4c07a1f53f99f59c920c3fb6222d.tar.xz git-39177c7f184b4c07a1f53f99f59c920c3fb6222d.zip |
Merge branch 'mg/verify-commit'
Add 'verify-commit' to be used in a way similar to 'verify-tag' is
used. Further work on verifying the mergetags might be needed.
* mg/verify-commit:
t7510: test verify-commit
t7510: exit for loop with test result
verify-commit: scriptable commit signature verification
gpg-interface: provide access to the payload
gpg-interface: provide clear helper for struct signature_check
Diffstat (limited to 'commit.c')
-rw-r--r-- | commit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1270,6 +1270,7 @@ void check_commit_signature(const struct commit* commit, struct signature_check &gpg_output, &gpg_status); if (status && !gpg_output.len) goto out; + sigc->payload = strbuf_detach(&payload, NULL); sigc->gpg_output = strbuf_detach(&gpg_output, NULL); sigc->gpg_status = strbuf_detach(&gpg_status, NULL); parse_gpg_output(sigc); |