diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-07-19 14:11:49 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-07-19 15:28:10 +0200 |
commit | 2537a0b24cac9206f282a071ba5e930aabfc3135 (patch) | |
tree | b49730431721b6f2238b59573bed5113f8181fa1 /lib/gitlab_projects.rb | |
parent | 57f73737903e37af4651e017be4e769dea6cb4d3 (diff) | |
download | gitlab-shell-2537a0b24cac9206f282a071ba5e930aabfc3135.tar.gz |
Remove empty post-receive hook
Diffstat (limited to 'lib/gitlab_projects.rb')
-rw-r--r-- | lib/gitlab_projects.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index c933296..242384b 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -182,9 +182,6 @@ class GitlabProjects private def create_hooks_to(dest_path) - pr_hook_path = File.join(ROOT_PATH, 'hooks', 'post-receive') - up_hook_path = File.join(ROOT_PATH, 'hooks', 'update') - - "ln -s #{pr_hook_path} #{dest_path}/hooks/post-receive && ln -s #{up_hook_path} #{dest_path}/hooks/update" + "ln -s #{File.join(ROOT_PATH, 'hooks', 'update')} #{dest_path}/hooks/update" end end |