BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
68249f23
Unverified
Commit
68249f23
authored
Feb 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent Compare page timout for large amount of commits
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
d701d586
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
CHANGELOG
CHANGELOG
+1
-0
lists.scss
app/assets/stylesheets/generic/lists.scss
+6
-0
show.html.haml
app/views/projects/compare/show.html.haml
+8
-1
No files found.
CHANGELOG
View file @
68249f23
v 6.6.0
- Permissions: Developer now can manage issue tracker (modify any issue)
- Improve Code Compare page performance
v 6.5.1
- Fix branch selectbox when create merge request from fork
...
...
app/assets/stylesheets/generic/lists.scss
View file @
68249f23
...
...
@@ -23,6 +23,12 @@
}
}
&
.warning-row
{
background-color
:
#fcf8e3
;
border-color
:
#faebcc
;
color
:
#8a6d3b
;
}
&
.smoke
{
background-color
:
#f5f5f5
;
}
&
:hover
{
...
...
app/views/projects/compare/show.html.haml
View file @
68249f23
...
...
@@ -15,7 +15,14 @@
%div
.ui-box
.title
Commits (
#{
@commits
.
count
}
)
%ul
.well-list
=
render
Commit
.
decorate
(
@commits
),
project:
@project
-
if
@commits
.
size
>
MergeRequestDiff
::
COMMITS_SAFE_SIZE
%ul
.well-list
-
Commit
.
decorate
(
@commits
.
first
(
MergeRequestDiff
::
COMMITS_SAFE_SIZE
)).
each
do
|
commit
|
=
render
"projects/commits/inline_commit"
,
commit:
commit
,
project:
@project
%li
.warning-row.unstyled
other
#{
@commits
.
size
-
MergeRequestDiff
::
COMMITS_SAFE_SIZE
}
commits hidden to prevent performance issues.
-
else
%ul
.well-list
=
render
Commit
.
decorate
(
@commits
),
project:
@project
-
unless
@diffs
.
empty?
%h4
Diff
...
...
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