Opening "Files" view on empty branch produces 404
Created by: slhck
Using the latest 6.5.1 release.
Summary: When you open /root/repo-name/tree/master
of a branch without files committed to it, you get a 404 error page without a menu or specific error message.
This is the case, for example, for Git Flow projects that do not have a release and therefore an empty master branch.
Expected behavior: The page should display that there are no files in this branch and allow the user to select another branch normally.
Browsing other views such as Commits or the Network works fine.