summaryrefslogtreecommitdiff
path: root/lib/post-receive-hook
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-29 22:38:24 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-02-29 22:38:24 +0200
commitbb164ebf1bd672527a76a6699427cbec728d638b (patch)
treedb078b004fd285cb28af3fc801ea552b5ac83456 /lib/post-receive-hook
parent796784c7c8d385b72cd1e4b5a8f0885d630586fb (diff)
downloadgitlab-ce-bb164ebf1bd672527a76a6699427cbec728d638b.tar.gz
Send author to post hook. Display push activity to dashboard
Diffstat (limited to 'lib/post-receive-hook')
-rwxr-xr-xlib/post-receive-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/post-receive-hook b/lib/post-receive-hook
index d7354d6515b..93eb96c2a6d 100755
--- a/lib/post-receive-hook
+++ b/lib/post-receive-hook
@@ -8,5 +8,5 @@ do
# For every branch or tag that was pushed, create a Resque job in redis.
pwd=`pwd`
reponame=`basename "$pwd" | cut -d. -f1`
- env -i redis-cli rpush "resque:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\"]}" > /dev/null 2>&1
+ env -i redis-cli rpush "resque:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$reponame\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1
done