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
a20a8552
Commit
a20a8552
authored
Sep 21, 2020
by
Imre Farkas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ps-remove-unused-helper' into 'master'
Remove unused helper See merge request gitlab-org/gitlab!42713
parents
ca421dc9
5d2edfb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
app/helpers/merge_requests_helper.rb
app/helpers/merge_requests_helper.rb
+0
-4
No files found.
app/helpers/merge_requests_helper.rb
View file @
a20a8552
...
@@ -109,10 +109,6 @@ module MergeRequestsHelper
...
@@ -109,10 +109,6 @@ module MergeRequestsHelper
@merge_request_diffs
.
size
-
@merge_request_diffs
.
index
(
merge_request_diff
)
@merge_request_diffs
.
size
-
@merge_request_diffs
.
index
(
merge_request_diff
)
end
end
def
different_base?
(
version1
,
version2
)
version1
&&
version2
&&
version1
.
base_commit_sha
!=
version2
.
base_commit_sha
end
def
merge_params
(
merge_request
)
def
merge_params
(
merge_request
)
{
{
auto_merge_strategy:
AutoMergeService
::
STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS
,
auto_merge_strategy:
AutoMergeService
::
STRATEGY_MERGE_WHEN_PIPELINE_SUCCEEDS
,
...
...
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