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

Function show_reference

builtin/rev-parse.c:221–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221static int show_reference(const struct reference *ref, void *cb_data UNUSED)
222{
223 if (ref_excluded(&ref_excludes, ref->name))
224 return 0;
225 show_rev(NORMAL, ref->oid, ref->name);
226 return 0;
227}
228
229static int anti_reference(const struct reference *ref, void *cb_data UNUSED)
230{

Callers

nothing calls this directly

Calls 2

ref_excludedFunction · 0.85
show_revFunction · 0.85

Tested by

no test coverage detected