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

Function alloc_delete_ref

remote.c:1105–1110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1103}
1104
1105static struct ref *alloc_delete_ref(void)
1106{
1107 struct ref *ref = alloc_ref("(delete)");
1108 oidclr(&ref->new_oid, the_repository->hash_algo);
1109 return ref;
1110}
1111
1112static int try_explicit_object_name(const char *name,
1113 struct ref **match)

Callers 2

try_explicit_object_nameFunction · 0.85
match_push_refsFunction · 0.85

Calls 2

alloc_refFunction · 0.85
oidclrFunction · 0.85

Tested by

no test coverage detected