gitea
gitea copied to clipboard
Fix `View File` button link if branch deleted on pull request files pages
as title
this is also usefull when reviewing specific commit in pull request
github also not redirecting to branch
so if you do not want to change branch link behaviour, do you have any suggestion ? like should we check if branch deleted ?
I mean if there are serveal commits on a pull request and when view files on one commit mode. The link should be that commit's id but not end commit id?
This is how it works after change: