Annotated tag is created even when message is empty
Summary
In /:namespace/:project_name/tags/new
screen we say Optionally, enter a message to create an annotated tag.
. This is not true, because we always create an annotated tag, even if message is empty
Steps to reproduce
- Go to
/:namespace/:project_name/tags/new
screen - Fill in tag name
- Leave message empty
- Create tag
- In your local repository:
git pull
to fetch the tag git show replace-with-tag-name
It is an annotated tag with an empty message.
Possible fixes
I'm not sure if anybody actually minds that we always create an annotated tag. This also brings some consistency to the codebase as we do not have to support two code path. If this is true we should just update the label to prevent confusion.