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

Function parse_commit_or_die

commit.c:668–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668void parse_commit_or_die(struct commit *item)
669{
670 if (repo_parse_commit(the_repository, item))
671 die("unable to parse commit %s",
672 item ? oid_to_hex(&item->object.oid) : "(null)");
673}
674
675int find_commit_subject(const char *commit_buffer, const char **subject)
676{

Callers 10

negotiate_using_fetchFunction · 0.85
send_unshallowFunction · 0.85
contains_testFunction · 0.85
do_remerge_diffFunction · 0.85
log_tree_diffFunction · 0.85
get_shallows_or_depthFunction · 0.85
bitmap_builder_initFunction · 0.85
handle_commitFunction · 0.85
switch_branchesFunction · 0.85

Calls 3

repo_parse_commitFunction · 0.85
oid_to_hexFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected