Description
-
Gitea version (or commit ref): 1.14.1
-
Git version: 2.30.2
-
Operating system: docker image gitea/gitea:1
-
Database:
- PostgreSQL
- MySQL
- MSSQL
- SQLite
-
Can you reproduce the bug at https://try.gitea.io:
-
Log gist:
Sorry, tinkering a lot with my setup right now, the log are no longer present on my machine, and since the issue is easily reproductible, it should not be a problem. However, I'm happy to provide you specific logs if needed.
Description
git checkout -b same-tag-and-branch-name-test
- Create a commit and
git push origin same-tag-and-branch-name-test
git tag same-tag-and-branch-name-test
git push origin tag same-tag-and-branch-name-test
- Create a pull request to merge
same-tag-and-branch-name-test
intomaster
- Now
https://gitea-instance/user/repo/pulls
return an error 500 - Note that we can see the pull request by accessing
https://gitea-instance/user/repo/1
Notes:
After deleting the branch and tag, pushing my commit to a new brarnch with a different name, and opening a new pull request, the error 500 on https://gitea-instance/user/repo/pulls
is gone. However, after merging the merge request, and now that there is no more opened PR, the error 500 came back.
Hope this issue can be fixed, and that someone could help me to fix my broken repository.