diff options
author | yp05327 <576951401@qq.com> | 2023-08-24 10:31:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 01:31:54 +0000 |
commit | 7e30986667cc0c460a9fb38e32862e492fd4ca8d (patch) | |
tree | c862d69a40b397cd83e26ba39a6150d87d752a95 /templates/swagger | |
parent | 5104c887d32a19afd468da7e71f39831607f4c44 (diff) | |
download | gitea-7e30986667cc0c460a9fb38e32862e492fd4ca8d.tar.gz gitea-7e30986667cc0c460a9fb38e32862e492fd4ca8d.zip |
Remove ref name in PR commits page (#25876)
The branch name display here is based on the repo's default branch which
is not correct.
![image](https://github.com/go-gitea/gitea/assets/18380374/d899f6dc-b240-41ea-9a3e-ea0e103874ad)
For example, if I changed the default branch, the branch name here will
also be changed:
![image](https://github.com/go-gitea/gitea/assets/18380374/032ead94-2287-4158-a9e4-02e9fb74777d)
![image](https://github.com/go-gitea/gitea/assets/18380374/e1e6cbbc-31f8-40a2-b99a-508b5b2b3145)
you can confirm this in :
https://try.gitea.io/yp05327/testrepo/pulls/1/commits
I think we do not need to display branch name here, as we already have
the branch info above.
![image](https://github.com/go-gitea/gitea/assets/18380374/66f30a0c-3c2b-4d26-936d-bbe289f33be0)
Diffstat (limited to 'templates/swagger')
0 files changed, 0 insertions, 0 deletions