UI shows wrong commit for tag when re-pushing tag #21579
Labels
issue/needs-feedback
For bugs, we need more details. For features, the feature must be described in more detail
type/bug
Description
See example repos. Both having the same git content, but gitea UI shows the wrong commit when viewing the tag:
https://try.gitea.io/silverwind/symlink-test/src/tag/tag1
https://github.com/silverwind/symlink-test/tree/tag1
The tag was pushed, deleted and pushed again as follows:
It seems that either on tag deletion or on tag re-push, gitea did not correctly update the commit reference of the tag, resulting in the UI showing the wrong commit. I assume there must be some cache going stale as the git cli shows the tag on the correct commit when cloning down the repo.
Gitea Version
latest master
Can you reproduce the bug on the Gitea demo site?
Yes
The text was updated successfully, but these errors were encountered: