500 We're sorry, but something went wrong. - Commit detail
Created by: lukyrys
When i tried to show commit details
Started GET "/repo/some-reponame/commit/0160f23360f57ea7136464569a8f37872755bf06" for 46.135.70.12:51347 at 2014-11-12 04:07:07 +0100
Processing by Projects::CommitController#show as HTML
Parameters: {"project_id"=>"repo/some-reponame", "id"=>"0160f23360f57ea7136464569a8f37872755bf06"}
Completed 500 Internal Server Error in 515ms
ActionView::Template::Error (undefined method `[]' for #<Enumerator:0x00000008a9a1c0>):
1: - too_big = diff_file.diff_lines.count > Commit::DIFF_SAFE_LINES
2: - if too_big
3: %a.supp_diff_link Changes suppressed. Click to show
4:
lib/gitlab/inline_diff.rb:12:in `block in processing'
lib/gitlab/inline_diff.rb:11:in `each'
lib/gitlab/inline_diff.rb:11:in `processing'
lib/gitlab/diff/parser.rb:14:in `parse'
lib/gitlab/diff/file.rb:15:in `diff_lines'
app/views/projects/diffs/_text_file.html.haml:1:in `_app_views_projects_diffs__text_file_html_haml__273381454552172901_62501400'
app/views/projects/diffs/_file.html.haml:43:in `_app_views_projects_diffs__file_html_haml__2560951375913011174_57882000'
app/views/projects/diffs/_diffs.html.haml:20:in `block in _app_views_projects_diffs__diffs_html_haml___3125698602333490763_28959660'
app/views/projects/diffs/_diffs.html.haml:19:in `each'
app/views/projects/diffs/_diffs.html.haml:19:in `each_with_index'
app/views/projects/diffs/_diffs.html.haml:19:in `_app_views_projects_diffs__diffs_html_haml___3125698602333490763_28959660'
app/views/projects/commit/show.html.haml:2:in `_app_views_projects_commit_show_html_haml__3762184489858440022_55724260'
app/controllers/projects/commit_controller.rb:27:in `show'
GitLab 7.4.3 GitLab Shell 2.0.1 GitLab API v3 Ruby 1.9.3p194 Rails 4.1.1