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

Function prettify_refname

refs.c:613–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613const char *prettify_refname(const char *name)
614{
615 if (skip_prefix(name, "refs/heads/", &name) ||
616 skip_prefix(name, "refs/tags/", &name) ||
617 skip_prefix(name, "refs/remotes/", &name))
618 ; /* nothing */
619 return name;
620}
621
622static const char *ref_rev_parse_rules[] = {
623 "%.*s",

Callers 4

print_ref_statusFunction · 0.85
show_nameFunction · 0.85
refcol_widthFunction · 0.85
display_ref_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected