blob: 11184ca345784c20a8169f9a287c0212c2f6e339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
module Gitlab
module Git
module Version
extend Gitlab::Git::Popen
def self.git_version
Gitlab::VersionInfo.parse(popen(%W(#{Gitlab.config.git.bin_path} --version), nil).first)
end
end
end
end
|