mirror of https://github.com/gogits/gogs.git
Browse Source
This is a balance between speed and nice code, where speed has won. To prevent a repository query for each action the ownername is match with the current user. It would be "cleaner" or "better" if we fetch the repository each time. Another option is to add the RepoOwnerID to actionpull/960/head
Peter Smit
10 years ago
1 changed files with 12 additions and 6 deletions
Loading…
Reference in new issue