| 901 | } |
| 902 | |
| 903 | static int is_root_ref_syntax(const char *refname) |
| 904 | { |
| 905 | const char *c; |
| 906 | |
| 907 | for (c = refname; *c; c++) { |
| 908 | if (!isupper(*c) && *c != '-' && *c != '_') |
| 909 | return 0; |
| 910 | } |
| 911 | |
| 912 | return 1; |
| 913 | } |
| 914 | |
| 915 | int is_root_ref(const char *refname) |
| 916 | { |
no outgoing calls
no test coverage detected