summaryrefslogtreecommitdiff
path: root/app/views/errors
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-08-25 13:04:41 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-08-25 13:04:41 -0700
commitefde86537a157b6b0ebb0227cf434e6898624414 (patch)
tree4b5d35993d123341ee84ab530b2725215456bd19 /app/views/errors
parent79e936e632466c12222af00c08480e9798fe58bd (diff)
parent44ec5579bd73ef1f712e3a116fab5492f19b48ec (diff)
downloadgitlab-ce-efde86537a157b6b0ebb0227cf434e6898624414.tar.gz
Merge pull request #1110 from gliptak/patch-1
Display configured git repository location on error page
Diffstat (limited to 'app/views/errors')
-rw-r--r--app/views/errors/gitolite.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/errors/gitolite.html.haml b/app/views/errors/gitolite.html.haml
index 50268b1ad27..d5f51951d5e 100644
--- a/app/views/errors/gitolite.html.haml
+++ b/app/views/errors/gitolite.html.haml
@@ -21,5 +21,5 @@
Permissions:
%pre
= preserve do
- sudo chmod -R 770 /home/git/repositories/
- sudo chown -R git:git /home/git/repositories/
+ sudo chmod -R 770 #{Gitlab.config.git_base_path}
+ sudo chown -R git:git #{Gitlab.config.git_base_path}