Merge branch '48105-git-version-detection-using-gitaly' into 'master'
Move git version detection to gitaly for usage ping data Closes #48105 and charts/gitlab#530 See merge request gitlab-org/gitlab-ce!19993
This commit is contained in:
		
						commit
						b60415c2b7
					
				|  | @ -4,7 +4,7 @@ module Gitlab | |||
|       extend Gitlab::Git::Popen | ||||
| 
 | ||||
|       def self.git_version | ||||
|         Gitlab::VersionInfo.parse(popen(%W(#{Gitlab.config.git.bin_path} --version), nil).first) | ||||
|         Gitlab::VersionInfo.parse(Gitaly::Server.all.first.git_binary_version) | ||||
|       end | ||||
|     end | ||||
|   end | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue