0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-23 01:16:38 +01:00
gitea/routers
yp05327 7e30986667
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)
2023-08-24 01:31:54 +00:00
..
api feat: implement organization secret creation API (#26566) 2023-08-22 11:20:34 +08:00
common
install Handle base64 decoding correctly to avoid panic (#26483) 2023-08-14 10:30:16 +00:00
private
utils
web Remove ref name in PR commits page (#25876) 2023-08-24 01:31:54 +00:00
init.go