| 247 | } |
| 248 | |
| 249 | int valid_fetch_refspec(const char *fetch_refspec_str) |
| 250 | { |
| 251 | struct refspec_item refspec; |
| 252 | int ret = refspec_item_init_fetch(&refspec, fetch_refspec_str); |
| 253 | refspec_item_clear(&refspec); |
| 254 | return ret; |
| 255 | } |
| 256 | |
| 257 | void refspec_ref_prefixes(const struct refspec *rs, |
| 258 | struct strvec *ref_prefixes) |
no test coverage detected