mirror of https://github.com/gogits/gogs.git
Browse Source
Due to recent code refactor, ctx.PullRequest is not initialized for route repo.CompareAndPullRequest, which leads the UI thinks the compare is not happening inside the same repository. The current fix is to allow compare URL to include redundant head user name so everything works fine again, but code logic isn't as clean as before. Made comments about possible future fix.pull/3579/merge
Unknwon
8 years ago
4 changed files with 25 additions and 14 deletions
Loading…
Reference in new issue