Unverified Commit be08ef7f by Edward Thomson Committed by GitHub

Update src/libgit2/tag.c

parent f6be8c26
......@@ -554,6 +554,8 @@ int git_tag_name_is_valid(int *valid, const char *name)
GIT_ASSERT(valid);
*valid = 0;
if (!name || !tag_name_is_valid(name))
goto done;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment