Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-11 14:50:27 +0300
committerJames Lopez <james@jameslopez.es>2016-02-11 14:50:27 +0300
commit77d2aeabec4601a1d9dda93c8fff0c7d1051ba1f (patch)
treefbd16b9c6cd81eccc9737e7634a7f6fa098ed882 /app/workers
parent9bcc9ec14cf4f120b8e16d5c232f82e1fc5e2cfd (diff)
attempt to reduce code complexity on GitPushService#execute
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/post_receive.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb
index 994b8e8ed38..80081ac5f49 100644
--- a/app/workers/post_receive.rb
+++ b/app/workers/post_receive.rb
@@ -38,7 +38,7 @@ class PostReceive
if Gitlab::Git.tag_ref?(ref)
GitTagPushService.new.execute(project, @user, oldrev, newrev, ref)
else
- GitPushService.new.execute(project, @user, oldrev, newrev, ref)
+ GitPushService.new(project, @user, oldrev, newrev, ref).execute
end
end
end