Commit b60415c2 authored by Sean McGivern's avatar Sean McGivern

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
parents ae20de7a 5607c57c
...@@ -4,7 +4,7 @@ module Gitlab ...@@ -4,7 +4,7 @@ module Gitlab
extend Gitlab::Git::Popen extend Gitlab::Git::Popen
def self.git_version 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 end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment