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
0d9f6abe
Commit
0d9f6abe
authored
Oct 06, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update refresh_service.rb
parent
2e57a920
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
app/services/merge_requests/refresh_service.rb
app/services/merge_requests/refresh_service.rb
+0
-7
No files found.
app/services/merge_requests/refresh_service.rb
View file @
0d9f6abe
...
@@ -2,19 +2,12 @@
...
@@ -2,19 +2,12 @@
module
MergeRequests
module
MergeRequests
class
RefreshService
<
MergeRequests
::
BaseService
class
RefreshService
<
MergeRequests
::
BaseService
<<<<<<<
HEAD
prepend
EE
::
MergeRequests
::
RefreshService
prepend
EE
::
MergeRequests
::
RefreshService
def
execute
(
oldrev
,
newrev
,
ref
)
def
execute
(
oldrev
,
newrev
,
ref
)
push
=
Gitlab
::
Git
::
Push
.
new
(
@project
,
oldrev
,
newrev
,
ref
)
push
=
Gitlab
::
Git
::
Push
.
new
(
@project
,
oldrev
,
newrev
,
ref
)
return
true
unless
push
.
branch_push?
return
true
unless
push
.
branch_push?
=======
def
execute
(
oldrev
,
newrev
,
ref
)
push
=
Gitlab
::
Git
::
Push
.
new
(
@project
,
oldrev
,
newrev
,
ref
)
return
true
unless
push
.
branch_push?
>>>>>>>
upstream
/
master
refresh_merge_requests!
(
push
)
refresh_merge_requests!
(
push
)
end
end
...
...
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