mirror of
https://gitee.com/gitea/gitea
synced 2025-12-30 04:06:36 +08:00
* Make compare button URL aware if current repo is a fork (#2162) * Optimize code * To not change current behaviour check if signed in user has fork of base repository * Fix to check only if signed user has forked repo otherwise it will still redirect to wrong page