Skip to content
GitLab
    • 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
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3264
Closed
Open
Issue created Sep 12, 2018 by Orace@Orace

Remove tag can leave an empty folder in refs/tags

What steps will reproduce the problem?

  1. Explore ".git/refs/tags" and verify that no folder named "Test" exists.
  2. Create a tag named "Test/Tag"
  3. Use Tortoise Git to remove the tag "Test/Tag"
  4. Explore ".git/refs/tags"

What is the expected output? What do you see instead?

Expected: The folder 'Test' should have disappeared. Instead: The folder 'Test' is still there and is empty.

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit version 2.6.0.0 Git version 2.18.0 Windows 7 or whatever

Please provide any additional information below.

Using the command line "git tag -d Test/Tag" the "Test" folder is deleted.

It's necessary to remove the folder to be sure that subsequent tag in the same directory are not case shuffled. Here the step to drive a dev crazy.

  1. Create a tag named "TEst/tag"
  2. Notice you made a mistake because you wanted it named "Test/tag"
  3. Remove the tag named "TEst/tag" (at this point the folder still exists)
  4. Create a tag named "Test/tag" (the tag is put in the existing folder, that it: "TEst")
  5. Notice that the tag you just created is named "TEst/tag"
  6. Go to point 3 until craziness.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking