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

Function read_commit_extra_headers

commit.c:1461–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1459}
1460
1461struct commit_extra_header *read_commit_extra_headers(struct commit *commit,
1462 const char **exclude)
1463{
1464 struct commit_extra_header *extra = NULL;
1465 unsigned long size;
1466 const char *buffer = repo_get_commit_buffer(the_repository, commit,
1467 &size);
1468 extra = read_commit_extra_header_lines(buffer, size, exclude);
1469 repo_unuse_commit_buffer(the_repository, commit, buffer);
1470 return extra;
1471}
1472
1473int for_each_mergetag(each_mergetag_fn fn, struct commit *commit, void *data)
1474{

Callers 5

try_to_commitFunction · 0.85
create_commitFunction · 0.85
for_each_mergetagFunction · 0.85
cmd_commitFunction · 0.85
commit_tree_extFunction · 0.85

Calls 3

repo_get_commit_bufferFunction · 0.85
repo_unuse_commit_bufferFunction · 0.85

Tested by

no test coverage detected