From 44ec5579bd73ef1f712e3a116fab5492f19b48ec Mon Sep 17 00:00:00 2001
From: gliptak <gliptak@users.sourceforge.net>
Date: Thu, 19 Jul 2012 12:39:02 -0300
Subject: [PATCH] Display configured git repository location on error page
 (this is partially addressing issue #1072)

---
 app/views/errors/gitolite.html.haml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/errors/gitolite.html.haml b/app/views/errors/gitolite.html.haml
index ccee757378d..3691b309698 100644
--- a/app/views/errors/gitolite.html.haml
+++ b/app/views/errors/gitolite.html.haml
@@ -15,5 +15,5 @@
         Try:
       %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}
\ No newline at end of file
-- 
GitLab