gitlabhq/gitlabhq — Issue #295: Error 500 on commit view
Author: davidterranova
Created: 2012-01-14 10:12:23+00:00
State: open

Hi,
Since yesterday i have the 500 error when i'm going to the commit view.
i have checked issues already reported and try to reinstall charlock_holmes

this is my production.log

Started GET "/projectmanager/commits/3f760c62d6b29aeb0e9ec57542bfd87b59f6bc20" for 192.168.1.254 at 2012-01-14 10:46:46 +0100
Processing by CommitsController#show as HTML
Parameters: {"project_id"=>"projectmanager", "id"=>"3f760c62d6b29aeb0e9ec57542bfd87b59f6bc20"}
Rendered commits/_diff_head.html.haml (190.0ms)
Rendered commits/_diff.html.haml (194.3ms)
Rendered commits/show.html.haml within layouts/project (247.7ms)
Completed 500 Internal Server Error in 496ms

ActionView::Template::Error (Grit::Git::GitTimeout):
1: %ul.bordered-list
2: - @commit.diffs.each do |diff|
3: %li
4: - if diff.deleted_file
5: %span.removed_file
app/models/commit.rb:7:in `diffs'
app/views/commits/_diff_head.html.haml:2:in `_app_views_commits__diff_head_html_haml___193764448469763664_49115160'
app/views/commits/_diff.html.haml:2:in `_app_views_commits__diff_html_haml___3649087598502201813_51186700'
app/views/commits/show.html.haml:25:in `_app_views_commits_show_html_haml___1200350139847900282_45891180'
app/controllers/commits_controller.rb:32:in `show'

thanks for help :)