gitlabhq/gitlabhq — Issue #164: 500 Error when trying to view commit on non master branch
Author: jaehess
Created: 2011-12-01 21:15:15+00:00
State: open

When I try to view a commit on a non master branch, I get the following 500 error.

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__352201473640659619_42920240'
app/views/commits/_diff.html.haml:2:in `_app_views_commits__diff_html_haml___1459055037993925218_43705100'
app/views/commits/show.html.haml:26:in `_app_views_commits_show_html_haml__4247368681350972096_45657700'
app/controllers/commits_controller.rb:30:in `show'