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

Function strip_namespace

environment.c:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181const char *strip_namespace(const char *namespaced_ref)
182{
183 const char *out;
184 if (skip_prefix(namespaced_ref, get_git_namespace(), &out))
185 return out;
186 return NULL;
187}
188
189const char *get_log_output_encoding(void)
190{

Callers 9

check_refFunction · 0.85
send_refFunction · 0.85
find_symrefFunction · 0.85
ref_excludedFunction · 0.85
show_text_refFunction · 0.85
show_head_refFunction · 0.85
send_refFunction · 0.85
show_ref_cbFunction · 0.85

Calls 1

get_git_namespaceFunction · 0.85

Tested by

no test coverage detected