| 131 | } |
| 132 | |
| 133 | static struct commit_list **append_parent(struct repository *r, |
| 134 | struct commit_list **tail, |
| 135 | const struct object_id *oid) |
| 136 | { |
| 137 | struct commit *parent; |
| 138 | |
| 139 | parent = lookup_commit_reference(r, oid); |
| 140 | if (!parent) |
| 141 | die("no such commit %s", oid_to_hex(oid)); |
| 142 | return &commit_list_insert(parent, tail)->next; |
| 143 | } |
| 144 | |
| 145 | static void append_merge_parents(struct repository *r, |
| 146 | struct commit_list **tail) |
no test coverage detected