diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-16 23:42:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 23:42:09 -0500 |
commit | 7a15213e3bdf9f8d459a34d0f16999ef4c6e2a85 (patch) | |
tree | 85bd409fce85d7af248c8346d80ab6d5369e207f | |
parent | 86685f8f1d586b0201ab51d8e5923379967f4e74 (diff) | |
parent | 6b2ea90966fd090e3b134ec57b85a8adfe4b89be (diff) | |
download | libgit2-7a15213e3bdf9f8d459a34d0f16999ef4c6e2a85.tar.gz |
Merge pull request #6119 from libgit2/ethomson/tag_valid
tag: set validity to 0 by default
-rw-r--r-- | src/tag.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |