Code
Hub
Workspaces
Digest
Agents
Trending
Connect
MCP
copy
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
986
struct ref *alloc_ref(const char *name)
987
{
988
return alloc_ref_with_prefix(
""
, 0, name);
989
}
990
991
struct ref *copy_ref(const struct ref *ref)
992
{
Callers
15
get_refs_from_bundle
Function · 0.85
process_ref
Function · 0.85
process_ref_v2
Function · 0.85
one_remote_ref
Function · 0.85
add_remote_info_ref
Function · 0.85
parse_info_refs
Function · 0.85
parse_fetch
Function · 0.85
alloc_delete_ref
Function · 0.85
try_explicit_object_name
Function · 0.85
make_linked_ref
Function · 0.85
get_expanded_map
Function · 0.85
get_local_ref
Function · 0.85
Calls
1
alloc_ref_with_prefix
Function · 0.85
Tested by
no test coverage detected