Open
Description
Description
If someone pushes only a tag to a repository the UI is blank stating "This repository doesn’t have any branches".
I'm not sure what the proper behavior should be, but I don't think that is the correct one.
https://demo.gitea.com/TheFox0x7/tag-only
Steps to reproduce:
- Setup a new repository on gitea
- add the remote to git
- run
git push origin {tag}
Screenshots
Gitea Version
1.24.0+dev-599-g39adb060f0
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
No response
Browser Version
Mozilla Firefox 137.0.1