Commit 6b2ea909 by Edward Thomson

tag: set validity to 0 by default

`git_tag_name_is_valid` needs to set validity to 0 when it
short-circuits.
parent 86685f8f
......@@ -539,6 +539,8 @@ int git_tag_name_is_valid(int *valid, const char *name)
GIT_ASSERT(valid);
*valid = 0;
/*
* Discourage tag name starting with dash,
* https://github.com/git/git/commit/4f0accd638b8d2
......
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