MCPcopy Index your code
hub / github.com/git/git / check_commit_signature

Function check_commit_signature

commit.c:1366–1375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1364}
1365
1366int 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
1377void verify_merge_signature(struct commit *commit, int verbosity,
1378 int check_trust)

Callers 4

grab_signatureFunction · 0.85
format_commit_oneFunction · 0.85
verify_merge_signatureFunction · 0.85
run_gpg_verifyFunction · 0.85

Calls 3

repo_get_commit_bufferFunction · 0.85
verify_commit_bufferFunction · 0.85
repo_unuse_commit_bufferFunction · 0.85

Tested by

no test coverage detected