Welcome to mirror list, hosted at ThFree Co, Russian Federation.

version.rb « git « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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