Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[fr] update french translation 2210/2210
[gitweb.git]
/
environment.c
diff --git
a/environment.c
b/environment.c
index b73b39d72f71dd5e2b846147ce64e0a1ae96d18b..4a3437d8a61256029655f25c76256f27a6189248 100644
(file)
--- a/
environment.c
+++ b/
environment.c
@@
-177,7
+177,7
@@
const char *get_git_namespace(void)
const char *strip_namespace(const char *namespaced_ref)
{
- if (
prefixcmp(namespaced_ref, get_git_namespace()) != 0
)
+ if (
!starts_with(namespaced_ref, get_git_namespace())
)
return NULL;
return namespaced_ref + namespace_len;
}