Error 500 when browsing commit
Created by: rtripault
Currently on 5.0.0.beta2 a0c0872
, the following error happens when browsing a commit (no matter the content of the commit)
Rendered commit/show.html.haml within layouts/project_resource (74.5ms)
Completed 500 Internal Server Error in 142ms
ActionView::Template::Error (could not find any magic files!):
40: .content
41: -# Skipp all non non-supported blobs
42: - next unless file.respond_to?('text?')
43: - if file.text?
44: = render "commits/text_file", diff: diff, index: i
45: - elsif file.image?
46: - old_file = (@commit.prev_commit.tree / diff.old_path) if [email protected]_commit.nil?
app/views/commits/_diffs.html.haml:43:in `block in _app_views_commits__diffs_html_haml___1831659627690816956_33834860'
app/views/commits/_diffs.html.haml:17:in `each'
app/views/commits/_diffs.html.haml:17:in `each_with_index'
app/views/commits/_diffs.html.haml:17:in `_app_views_commits__diffs_html_haml___1831659627690816956_33834860'
app/views/commit/show.html.haml:9:in `_app_views_commit_show_html_haml___4347783164650046636_59520500'