Commit 2600e80b412a6e7256fe1f4e3ca32cc5d410b449

Authored by VonC
1 parent bb7dde0d

Look for 'gitolite_admin_uri' in the right section

of 'gitlab.yml'.

gitlabhq\config\initializers\1_settings.rb looks for
'gitolite_admin_uri' in the 'git' section of 'gitlab.yml'

Actually, that setting is in the 'git_host' section.
If not fixed, the 'gitolite_admin_uri' would always be equals to
'git@localhost:gitolite-admin', even if the administrator wants
to have another user than 'git' in charge of that repo.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/initializers/1_settings.rb
... ... @@ -95,7 +95,7 @@ class Settings < Settingslogic
95 95 end
96 96  
97 97 def gitolite_admin_uri
98   - git['admin_uri'] || 'git@localhost:gitolite-admin'
  98 + git_host['admin_uri'] || 'git@localhost:gitolite-admin'
99 99 end
100 100  
101 101 def default_projects_limit
... ...