Closed
Description
- Gitea version (or commit ref): 4d2ea7d built with: bindata, sqlite
- Git version: 2.11.2
- Operating system: Ubuntu (Xenial); with Docker
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
2017/06/18 17:00:17 [...routers/repo/view.go:53 renderDirectory()] [E] GetCommitsInfo: exit status 128 - fatal: bad revision '00a3cc4831ab308a739955f6e9eaecdc1198e7bb^'
Description
I have a fairly complex repository (unfortunately not one I can make public) which I recently uploaded to Gitea. For certain directories in the repository (e.g. /wolf/wolf-www/src/master/public_html/inc
), I get a 500 error when I attempt to view them. The problem seems to be that it's trying to get 00a3cc4^
, but 00a3cc4
is the root of the repository and therefore has no parent commit. This looks vaguely similar to #1836, but it looks like that was a different root cause which has been fixed.