From: Michael Haggerty <mhagger@xxxxxxxxxxxx> Signed-off-by: Michael Haggerty <mhagger@xxxxxxxxxxxx> --- builtin/tag.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index 9b6fd95..abf3cb0 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -412,7 +412,7 @@ static int strbuf_check_tag_ref(struct strbuf *sb, const char *name) strbuf_reset(sb); strbuf_addf(sb, "refs/tags/%s", name); - return check_refname_format(sb->buf, 0); + return check_refname_format(sb->buf, REFNAME_FULL); } int cmd_tag(int argc, const char **argv, const char *prefix) -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html