| 1552 | } |
| 1553 | |
| 1554 | void free_commit_extra_headers(struct commit_extra_header *extra) |
| 1555 | { |
| 1556 | while (extra) { |
| 1557 | struct commit_extra_header *next = extra->next; |
| 1558 | free(extra->key); |
| 1559 | free(extra->value); |
| 1560 | free(extra); |
| 1561 | extra = next; |
| 1562 | } |
| 1563 | } |
| 1564 | |
| 1565 | int commit_tree(const char *msg, size_t msg_len, const struct object_id *tree, |
| 1566 | const struct commit_list *parents, struct object_id *ret, |
no outgoing calls
no test coverage detected