Commit ccd5df27a06cc804e2bf4b48039d8e40bda572a6

Merge commit 'krawek/maint'

* commit 'krawek/maint':
convert the commit id to string because Comment#sha1 is a string (postgres 8.3 compat)

Commit diff

app/controllers/commits_controller.rb

 
1111 @git = @repository.git
1212 @commit = @git.commit(params[:id])
1313 @diffs = @commit.diffs
14 @comment_count = @repository.comments.count(:all, :conditions => {:sha1 => @commit.id})
14 @comment_count = @repository.comments.count(:all, :conditions => {:sha1 => @commit.id.to_s})
1515 respond_to do |format|
1616 format.html
1717 # TODO: format.diff { render :content_type => "text/plain" }
toggle raw diff