| 1364 | } |
| 1365 | |
| 1366 | int check_commit_signature(const struct commit *commit, struct signature_check *sigc) |
| 1367 | { |
| 1368 | unsigned long size; |
| 1369 | const char *buffer = repo_get_commit_buffer(the_repository, commit, &size); |
| 1370 | int ret = verify_commit_buffer(buffer, size, sigc); |
| 1371 | |
| 1372 | repo_unuse_commit_buffer(the_repository, commit, buffer); |
| 1373 | |
| 1374 | return ret; |
| 1375 | } |
| 1376 | |
| 1377 | void verify_merge_signature(struct commit *commit, int verbosity, |
| 1378 | int check_trust) |
no test coverage detected