Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #24554
Project 'gitlab-org/gitlab-ce' was moved to 'gitlab-org/gitlab-foss'. Please update any links and bookmarks that may still have the old path.
Closed
Open
Issue created Nov 16, 2016 by Adam Niedzielski@adamniedzielskiContributor

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

  1. Go to /:namespace/:project_name/tags/new screen
  2. Fill in tag name
  3. Leave message empty
  4. Create tag
  5. In your local repository: git pull to fetch the tag
  6. 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.

/cc @DouweM @smcgivern @eReGeBe

Assignee
Assign to
Time tracking