| 1051 | } |
| 1052 | |
| 1053 | static 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 | |
| 1067 | int parse_commit_in_graph(struct repository *r, struct commit *item) |
| 1068 | { |
no test coverage detected