MCPcopy Index your code
hub / github.com/git/git / free_commit_extra_headers

Function free_commit_extra_headers

commit.c:1554–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1552}
1553
1554void 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
1565int commit_tree(const char *msg, size_t msg_len, const struct object_id *tree,
1566 const struct commit_list *parents, struct object_id *ret,

Callers 8

try_to_commitFunction · 0.85
create_commitFunction · 0.85
for_each_mergetagFunction · 0.85
commit_treeFunction · 0.85
commit_tree_extendedFunction · 0.85
cmd_commitFunction · 0.85
commit_tree_extFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected