| 376 | } |
| 377 | |
| 378 | void sanitize_refname_component(const char *refname, struct strbuf *out) |
| 379 | { |
| 380 | if (check_or_sanitize_refname(refname, REFNAME_ALLOW_ONELEVEL, out)) |
| 381 | BUG("sanitizing refname '%s' check returned error", refname); |
| 382 | } |
| 383 | |
| 384 | int refname_is_safe(const char *refname) |
| 385 | { |
no test coverage detected