View project pages without master branch

王权利请求将github/fork/demelziraptor/master合并到master

Created by: demelziraptor

Project pages will not show up unless a master branch exists as find_or_first (without a commit id) will look for the first commit on the master branch by default - causing require_non_empty_project to do the redirection, even though the project is not empty. This changes find_or_first (without commit id) to look on the default branch instead.

合并请求报告