5893: Remove "disable repo browsing with git2" stuff.
[arvados.git] / apps / workbench / app / models / repository.rb
index 6aa6bb718ee0d27f0f367d29863691fef5c35df3..1caab89cc70fe643dc37965fcde5561ce0096f70 100644 (file)
@@ -48,15 +48,6 @@ class Repository < ArvadosBase
     subtree
   end
 
-  # git 2.1.4 does not use credential helpers reliably, see #5416
-  def self.disable_repository_browsing?
-    return false if Rails.configuration.use_git2_despite_bug_risk
-    if @buggy_git_version.nil?
-      @buggy_git_version = /git version 2/ =~ `git version`
-    end
-    @buggy_git_version
-  end
-
   # http_fetch_url returns the first http:// or https:// url (if any)
   # in the api response's clone_urls attribute.
   def http_fetch_url