mirror of
https://github.com/go-gitea/gitea
synced 2025-02-22 01:51:26 +01: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