Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
215
struct 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
merge_ort_nonrecursive_internal
Function · 0.85
parse_treeish_arg
Function · 0.85
reset_head
Function · 0.85
checkout_fast_forward
Function · 0.85
do_recursive_merge
Function · 0.85
do_reset
Function · 0.85
diff_cache
Function · 0.85
run_revert
Function · 0.85
overlay_tree_on_index
Function · 0.85
cmd__cache_tree
Function · 0.85
cmd__match_trees
Function · 0.85
cmd_ls_tree
Function · 0.85
Calls
2
parse_object
Function · 0.85
repo_peel_to_type
Function · 0.85
Tested by
2
cmd__cache_tree
Function · 0.68
cmd__match_trees
Function · 0.68