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

Function check_ref

upload-pack.c:1207–1214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1205}
1206
1207static int check_ref(const struct reference *ref, void *cb_data)
1208{
1209 const char *refname = strip_namespace(ref->name);
1210 struct upload_pack_data *data = cb_data;
1211
1212 mark_our_ref(refname, ref->name, ref->oid, &data->hidden_refs);
1213 return 0;
1214}
1215
1216static void format_symref_info(struct strbuf *buf, struct string_list *symref)
1217{

Callers

nothing calls this directly

Calls 2

strip_namespaceFunction · 0.85
mark_our_refFunction · 0.85

Tested by

no test coverage detected