diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-10 11:27:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-10 11:27:34 -0700 |
commit | 39177c7f184b4c07a1f53f99f59c920c3fb6222d (patch) | |
tree | 1a536ab74526d6aaa089b4e72742b4b3686c89fe /commit.c | |
parent | 3d77f72efe79eb90f67aec9ecf6d4bd11fc9a78c (diff) | |
parent | 8e92c2cf37038a3b3bb82724f018e4d0ab1180ff (diff) | |
download | git-39177c7f184b4c07a1f53f99f59c920c3fb6222d.tar.gz |
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); |