Store repo satellites outside of tmp directory

This commit is contained in:
Dmitriy Zaporozhets 2013-01-16 13:30:31 +02:00
parent 3d57755b70
commit c9e6818ab6
4 changed files with 10 additions and 1 deletions

View file

@ -57,7 +57,7 @@ module Gitlab
end
def path
Rails.root.join("tmp", "repo_satellites", project.path_with_namespace)
File.join(Gitlab.config.satellites.path, project.path_with_namespace)
end
def repo