Fix satellites to use filesystem. Correct post-receive user finder

This commit is contained in:
Dmitriy Zaporozhets 2013-02-04 16:19:37 +02:00
parent 896c3a0a9d
commit 6f7ccea668
2 changed files with 7 additions and 4 deletions

View file

@ -30,10 +30,10 @@ module Gitlab
end
def create
output, status = popen("git clone #{project.url_to_repo} #{path}",
output, status = popen("git clone #{project.repository.path_to_repo} #{path}",
Gitlab.config.satellites.path)
log("PID: #{project.id}: git clone #{project.url_to_repo} #{path}")
log("PID: #{project.id}: git clone #{project.repository.path_to_repo} #{path}")
log("PID: #{project.id}: -> #{output}")
if status.zero?