mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 04:56:16 +10:00
remove unnecessary decorations
This commit is contained in:
@@ -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
|
||||
[]
|
||||
|
||||
Reference in New Issue
Block a user