mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 20:56:08 +10:00
remove unnecessary decorations
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
{
|
||||
parents: parents_zip_spaces(c.parents(@graph.map), c.parent_spaces),
|
||||
author: {
|
||||
name: c.author.name,
|
||||
email: c.author.email,
|
||||
icon: gravatar_icon(c.author.email, 20)
|
||||
name: c.author_name,
|
||||
email: c.author_email,
|
||||
icon: gravatar_icon(c.author_email, 20)
|
||||
},
|
||||
time: c.time,
|
||||
space: c.spaces.first,
|
||||
|
||||
@@ -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