| 20 | }; |
| 21 | |
| 22 | static int run_gpg_verify(struct commit *commit, unsigned flags) |
| 23 | { |
| 24 | struct signature_check signature_check; |
| 25 | int ret; |
| 26 | |
| 27 | memset(&signature_check, 0, sizeof(signature_check)); |
| 28 | |
| 29 | ret = check_commit_signature(commit, &signature_check); |
| 30 | print_signature_buffer(&signature_check, flags); |
| 31 | |
| 32 | signature_check_clear(&signature_check); |
| 33 | return ret; |
| 34 | } |
| 35 | |
| 36 | static int verify_commit(struct repository *repo, const char *name, unsigned flags) |
| 37 | { |
no test coverage detected