Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kazuhiko Shiozaki
gitlab-ce
Commits
7e8bf92b
Commit
7e8bf92b
authored
Apr 03, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unnecessary decorations
parent
94390fc7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
app/views/graph/show.json.erb
app/views/graph/show.json.erb
+3
-3
lib/gitlab/git/compare.rb
lib/gitlab/git/compare.rb
+1
-3
No files found.
app/views/graph/show.json.erb
View file @
7e8bf92b
...
...
@@ -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
,
...
...
lib/gitlab/git/compare.rb
View file @
7e8bf92b
...
...
@@ -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
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment