gitlab-org--gitlab-foss/lib/gitlab/git/version.rb

12 lines
213 B
Ruby

module Gitlab
module Git
module Version
extend Gitlab::Git::Popen
def self.git_version
Gitlab::VersionInfo.parse(Gitaly::Server.all.first.git_binary_version)
end
end
end
end