remove unnecessary decorations

This commit is contained in:
Dmitriy Zaporozhets
2013-04-03 09:32:17 +03:00
parent 94390fc7b4
commit 7e8bf92bd7
2 changed files with 4 additions and 6 deletions
+1 -3
View File
@@ -20,10 +20,8 @@ module Gitlab
return
end
@commit = Commit.new(first)
@commit = first
@commits = repository.commits_between(last.id, first.id)
@commits = @commits.map { |c| Commit.new(c) }
@diffs = if @commits.size > 100
[]