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

Function alloc_ref

remote.c:986–989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986struct ref *alloc_ref(const char *name)
987{
988 return alloc_ref_with_prefix("", 0, name);
989}
990
991struct ref *copy_ref(const struct ref *ref)
992{

Callers 15

get_refs_from_bundleFunction · 0.85
process_refFunction · 0.85
process_ref_v2Function · 0.85
one_remote_refFunction · 0.85
add_remote_info_refFunction · 0.85
parse_info_refsFunction · 0.85
parse_fetchFunction · 0.85
alloc_delete_refFunction · 0.85
try_explicit_object_nameFunction · 0.85
make_linked_refFunction · 0.85
get_expanded_mapFunction · 0.85
get_local_refFunction · 0.85

Calls 1

alloc_ref_with_prefixFunction · 0.85

Tested by

no test coverage detected