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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7b2f7875
Commit
7b2f7875
authored
Sep 08, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve MR diff API conflicts
parent
c168c321
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
lib/api/v3/merge_request_diffs.rb
lib/api/v3/merge_request_diffs.rb
+0
-4
No files found.
lib/api/v3/merge_request_diffs.rb
View file @
7b2f7875
...
@@ -22,11 +22,7 @@ module API
...
@@ -22,11 +22,7 @@ module API
get
":id/merge_requests/:merge_request_id/versions"
do
get
":id/merge_requests/:merge_request_id/versions"
do
merge_request
=
find_merge_request_with_access
(
params
[
:merge_request_id
])
merge_request
=
find_merge_request_with_access
(
params
[
:merge_request_id
])
<<<<<<<
HEAD
present
paginate
(
merge_request
.
merge_request_diffs
),
with:
::
API
::
Entities
::
MergeRequestDiff
=======
present
merge_request
.
merge_request_diffs
.
order_id_desc
,
with:
::
API
::
Entities
::
MergeRequestDiff
present
merge_request
.
merge_request_diffs
.
order_id_desc
,
with:
::
API
::
Entities
::
MergeRequestDiff
>>>>>>>
upstream
/
master
end
end
desc
'Get a single merge request diff version'
do
desc
'Get a single merge request diff version'
do
...
...
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