Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-05 11:23:53 +0400
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-05 11:23:53 +0400
commit8134fe0efe287f6512b7684d4c654b2d43f3df9d (patch)
tree6e852abf93696cd0fc48d257b4dfa1225f88c8f2 /lib
parent8f4a0bd1743875289d5870b7d19ecb6c80016b6c (diff)
git host fixed
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlabhq/git_host.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlabhq/git_host.rb b/lib/gitlabhq/git_host.rb
index 48f5a150740..714d92f537a 100644
--- a/lib/gitlabhq/git_host.rb
+++ b/lib/gitlabhq/git_host.rb
@@ -4,10 +4,10 @@ require File.join(Rails.root, "lib", "gitlabhq", "gitosis")
module Gitlabhq
class GitHost
def self.system
- if GIT_HOST["system"] == "gitolite"
- Gitlabhq::Gitolite
- else
+ if GIT_HOST["system"] == "gitosis"
Gitlabhq::Gitosis
+ else
+ Gitlabhq::Gitolite
end
end