fetch.c
4.07 KB
-
refs: introduce git_reference_name_is_valid · 29715d40
Provide a function that can check reference name validity but can also signal when an error occurs. Use the name "name_is_valid", which is more suggestive of checking a given name, rather than "is_valid_name", which suggests that the function checks the validity of the current reference's name.
Edward Thomson committed