summaryrefslogtreecommitdiff
path: root/config/initializers/5_backend.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-27 23:50:17 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-04-27 23:50:17 +0300
commit4f2d2c90f7c32a9113ccce440411ec80374ee385 (patch)
tree312803a008da343b9e773324d8411557a271e918 /config/initializers/5_backend.rb
parentdf96c079ef3e358ea221ce4c43163d478b79a5e0 (diff)
downloadgitlab-ce-4f2d2c90f7c32a9113ccce440411ec80374ee385.tar.gz
Move Gitlab::Git out of gitlab core
Diffstat (limited to 'config/initializers/5_backend.rb')
-rw-r--r--config/initializers/5_backend.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/5_backend.rb b/config/initializers/5_backend.rb
index 7c2e7f39000..e60d9559c94 100644
--- a/config/initializers/5_backend.rb
+++ b/config/initializers/5_backend.rb
@@ -6,3 +6,6 @@ require Rails.root.join("lib", "gitlab", "backend", "shell")
# GitLab shell adapter
require Rails.root.join("lib", "gitlab", "backend", "shell_adapter")
+
+# Gitlab Git repos path
+Gitlab::Git::Repository.repos_path = Gitlab.config.gitlab_shell.repos_path