@ -347,11 +347,6 @@ int check_ref_format(const char *ref)
if(!ch){
if(level<2)
return-1;/* at least of form "heads/blah" */
/* do not allow ref name to end in "HEAD" */
if(cp-ref>4&&!strcmp(cp-4,"HEAD"))
return-1;
return0;
}
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.