| 207 | } |
| 208 | |
| 209 | void unparse_commit(struct repository *r, const struct object_id *oid) |
| 210 | { |
| 211 | struct commit *c = lookup_commit(r, oid); |
| 212 | |
| 213 | if (!c->object.parsed) |
| 214 | return; |
| 215 | commit_list_free(c->parents); |
| 216 | c->parents = NULL; |
| 217 | c->object.parsed = 0; |
| 218 | } |
| 219 | |
| 220 | int register_commit_graft(struct repository *r, struct commit_graft *graft, |
| 221 | int ignore_dups) |
no test coverage detected