summaryrefslogtreecommitdiff
path: root/lib/hooks
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 15:59:40 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 15:59:40 +0200
commit18fc0900523a850179bb15f8ca73a0bdf8631607 (patch)
tree5cc5f6c700cff0f6405efd3e2431a9c4d8baaac6 /lib/hooks
parentbd3288e3207c12e90d7fed629b345cfe83018bbf (diff)
downloadgitlab-ce-18fc0900523a850179bb15f8ca73a0bdf8631607.tar.gz
remove hooks and support scripts from main repo. Moved to gitlab-shell
Diffstat (limited to 'lib/hooks')
-rwxr-xr-xlib/hooks/post-receive12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/hooks/post-receive b/lib/hooks/post-receive
deleted file mode 100755
index 6944d3e3f72..00000000000
--- a/lib/hooks/post-receive
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env bash
-
-# Version 4.1
-# This file was placed here by GitLab. It makes sure that your pushed commits
-# will be processed properly.
-
-while read oldrev newrev ref
-do
- # For every branch or tag that was pushed, create a Resque job in redis.
- repo_path=`pwd`
- env -i redis-cli rpush "resque:gitlab:queue:post_receive" "{\"class\":\"PostReceive\",\"args\":[\"$repo_path\",\"$oldrev\",\"$newrev\",\"$ref\",\"$GL_USER\"]}" > /dev/null 2>&1
-done