Commit efde86537a157b6b0ebb0227cf434e6898624414

Authored by Dmitriy Zaporozhets
2 parents 79e936e6 44ec5579

Merge pull request #1110 from gliptak/patch-1

Display configured git repository location on error page
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/views/errors/gitolite.html.haml
... ... @@ -21,5 +21,5 @@
21 21 Permissions:
22 22 %pre
23 23 = preserve do
24   - sudo chmod -R 770 /home/git/repositories/
25   - sudo chown -R git:git /home/git/repositories/
  24 + sudo chmod -R 770 #{Gitlab.config.git_base_path}
  25 + sudo chown -R git:git #{Gitlab.config.git_base_path}
... ...