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
Boxiang Sun
gitlab-ce
Commits
76cd67b0
Commit
76cd67b0
authored
Aug 02, 2016
by
Sean McGivern
Committed by
Fatih Acet
Aug 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make SCSS lint and RuboCop happy
parent
8b6a075e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/stylesheets/pages/merge_conflicts.scss
app/assets/stylesheets/pages/merge_conflicts.scss
+3
-3
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+1
-1
No files found.
app/assets/stylesheets/pages/merge_conflicts.scss
View file @
76cd67b0
...
...
@@ -8,7 +8,7 @@ $origin_gutter: #e0f0ff;
$selected_origin_gutter
:
#a3d3ff
;
$selected_origin_line
:
#cee4f9
;
$unselected_gutter
:
#eee
eee
;
$unselected_gutter
:
#eee
;
$unselected_line
:
#f8f8f8
;
...
...
@@ -93,8 +93,8 @@ $unselected_line: #f8f8f8;
button
{
border-radius
:
4px
;
border
:
1px
solid
#
E1E1E
1
;
background
:
#
FFF
;
border
:
1px
solid
#
e1e1e
1
;
background
:
#
fff
;
font-size
:
10px
;
position
:
absolute
;
right
:
20px
;
...
...
app/controllers/projects/merge_requests_controller.rb
View file @
76cd67b0
...
...
@@ -140,7 +140,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
format
.
json
do
begin
render
json:
Gitlab
::
Conflict
::
FileCollection
.
new
(
@merge_request
)
rescue
Gitlab
::
Conflict
::
Parser
::
ParserError
,
Gitlab
::
Conflict
::
FileCollection
::
ConflictSideMissing
=>
e
rescue
Gitlab
::
Conflict
::
Parser
::
ParserError
,
Gitlab
::
Conflict
::
FileCollection
::
ConflictSideMissing
render
json:
{
message:
'Unable to resolve conflicts in the web interface for this merge request'
,
type:
'error'
...
...
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