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

Function repo_parse_tree_indirect

tree.c:215–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215struct tree *repo_parse_tree_indirect(struct repository *r,
216 const struct object_id *oid)
217{
218 struct object *obj = parse_object(r, oid);
219 return (struct tree *)repo_peel_to_type(r, NULL, 0, obj, OBJ_TREE);
220}

Callers 15

parse_treeish_argFunction · 0.85
reset_headFunction · 0.85
checkout_fast_forwardFunction · 0.85
do_recursive_mergeFunction · 0.85
do_resetFunction · 0.85
diff_cacheFunction · 0.85
run_revertFunction · 0.85
overlay_tree_on_indexFunction · 0.85
cmd__cache_treeFunction · 0.85
cmd__match_treesFunction · 0.85
cmd_ls_treeFunction · 0.85

Calls 2

parse_objectFunction · 0.85
repo_peel_to_typeFunction · 0.85

Tested by 2

cmd__cache_treeFunction · 0.68
cmd__match_treesFunction · 0.68