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

Function parse_commit_in_graph_one

commit-graph.c:1053–1065  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1051}
1052
1053static int parse_commit_in_graph_one(struct commit_graph *g,
1054 struct commit *item)
1055{
1056 uint32_t pos;
1057
1058 if (item->object.parsed)
1059 return 1;
1060
1061 if (find_commit_pos_in_graph(item, g, &pos))
1062 return fill_commit_in_graph(item, g, pos);
1063
1064 return 0;
1065}
1066
1067int parse_commit_in_graph(struct repository *r, struct commit *item)
1068{

Callers 2

parse_commit_in_graphFunction · 0.85
verify_one_commit_graphFunction · 0.85

Calls 2

find_commit_pos_in_graphFunction · 0.85
fill_commit_in_graphFunction · 0.85

Tested by

no test coverage detected