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
52aecd21
Commit
52aecd21
authored
Oct 16, 2019
by
Patrick Bajao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded default value for param
parent
0bdddc87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/services/git/process_ref_changes_service.rb
app/services/git/process_ref_changes_service.rb
+1
-1
No files found.
app/services/git/process_ref_changes_service.rb
View file @
52aecd21
...
@@ -38,7 +38,7 @@ module Git
...
@@ -38,7 +38,7 @@ module Git
(
changes
.
size
<=
Gitlab
::
CurrentSettings
.
push_event_hooks_limit
)
||
Feature
.
enabled?
(
:git_push_execute_all_project_hooks
,
project
)
(
changes
.
size
<=
Gitlab
::
CurrentSettings
.
push_event_hooks_limit
)
||
Feature
.
enabled?
(
:git_push_execute_all_project_hooks
,
project
)
end
end
def
process_changes
(
ref_type
,
changes
,
execute_project_hooks:
true
)
def
process_changes
(
ref_type
,
changes
,
execute_project_hooks
:)
push_service_class
=
push_service_class_for
(
ref_type
)
push_service_class
=
push_service_class_for
(
ref_type
)
changes
.
each
do
|
change
|
changes
.
each
do
|
change
|
...
...
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