| 3349 | }; |
| 3350 | |
| 3351 | static struct merge_simplify_state *locate_simplify_state(struct rev_info *revs, struct commit *commit) |
| 3352 | { |
| 3353 | struct merge_simplify_state *st; |
| 3354 | |
| 3355 | st = lookup_decoration(&revs->merge_simplification, &commit->object); |
| 3356 | if (!st) { |
| 3357 | CALLOC_ARRAY(st, 1); |
| 3358 | add_decoration(&revs->merge_simplification, &commit->object, st); |
| 3359 | } |
| 3360 | return st; |
| 3361 | } |
| 3362 | |
| 3363 | static int mark_redundant_parents(struct commit *commit) |
| 3364 | { |
no test coverage detected