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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue