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
2edc4662
Commit
2edc4662
authored
Jan 05, 2017
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PostReceive hooks call
parent
c724049e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/workers/post_receive.rb
app/workers/post_receive.rb
+2
-2
No files found.
app/workers/post_receive.rb
View file @
2edc4662
...
...
@@ -32,11 +32,11 @@ class PostReceive
hook_data
=
{
event_name:
'repository_update'
,
project_id:
post_received
.
project
.
id
,
project:
project
.
hook_attrs
,
project:
p
ost_received
.
p
roject
.
hook_attrs
,
remote_url:
post_received
.
project
.
ssh_url_to_repo
}
SystemHooksService
.
new
.
execute_hooks
(
hook_data
,
:repository_update
)
SystemHooksService
.
new
.
execute_hooks
(
hook_data
,
:repository_update
_hooks
)
end
process_project_changes
(
post_received
)
...
...
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