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

Function get_commit_tree_oid

commit.c:480–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480struct object_id *get_commit_tree_oid(const struct commit *commit)
481{
482 struct tree *tree = repo_get_commit_tree(the_repository, commit);
483 return tree ? &tree->object.oid : NULL;
484}
485
486void release_commit_memory(struct parsed_object_pool *pool, struct commit *c)
487{

Callers 15

grab_commit_valuesFunction · 0.85
queue_diffsFunction · 0.85
commit_is_completeFunction · 0.85
find_originFunction · 0.85
find_renameFunction · 0.85
find_copy_in_parentFunction · 0.85
write_graph_chunk_dataFunction · 0.85
verify_one_commit_graphFunction · 0.85
add_promisor_objectFunction · 0.85
is_index_unchangedFunction · 0.85
try_to_commitFunction · 0.85
is_original_commit_emptyFunction · 0.85

Calls 1

repo_get_commit_treeFunction · 0.85

Tested by

no test coverage detected