System notice: In light of the Debian OpenSSL security issue we've regenerated the server keys. See this thread for instructions and the new key fingerprints.

Commit 8d9db34148fc9f36292458cef1733a1fc28f3d81

convert the commit id to string because Comment#sha1 is a string (postgres 8.3 compat)

Signed-off-by: David A. Cuadrado <krawek@gmail.com>

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