summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-03-06 16:08:51 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-03-06 16:08:51 +0100
commit4a251849cf0408780f6ee536699c212f8fe7a7be (patch)
treebe865450d3c709468f5697137cfbcbc375107b01 /app/workers
parentf096bd61bda605f2e3631bcd4663ab68c7396989 (diff)
downloadgitlab-ce-4a251849cf0408780f6ee536699c212f8fe7a7be.tar.gz
Added newrev and oldrev to the hook data
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 80e6368ad2d..3b0cf77d42e 100644
--- a/app/workers/post_receive.rb
+++ b/app/workers/post_receive.rb
@@ -30,7 +30,7 @@ class PostReceive
end
if tag?(ref)
- GitTagPushService.new.execute(project, user, ref)
+ GitTagPushService.new.execute(project, user, oldrev, newrev, ref)
else
GitPushService.new.execute(project, user, oldrev, newrev, ref)
end