MCPcopy Create free account
hub / github.com/git/git / init_tree_desc

Function init_tree_desc

tree-walk.c:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void init_tree_desc(struct tree_desc *desc, const struct object_id *tree_oid,
66 const void *buffer, unsigned long size)
67{
68 struct strbuf err = STRBUF_INIT;
69 if (init_tree_desc_internal(desc, tree_oid, buffer, size, &err, 0))
70 die("%s", err.buf);
71 strbuf_release(&err);
72}
73
74int init_tree_desc_gently(struct tree_desc *desc, const struct object_id *oid,
75 const void *buffer, unsigned long size,

Callers 15

collect_merge_infoFunction · 0.85
checkoutFunction · 0.85
prime_cache_tree_recFunction · 0.85
tree_is_completeFunction · 0.85
fill_tree_descriptorFunction · 0.85
get_tree_entryFunction · 0.85
process_treeFunction · 0.85
parse_treeish_argFunction · 0.85
checkout_fast_forwardFunction · 0.85
add_children_by_pathFunction · 0.85

Calls 3

init_tree_desc_internalFunction · 0.85
strbuf_releaseFunction · 0.85
dieFunction · 0.70

Tested by

no test coverage detected