class GitCli::Gvcs::Vcs

Public Class Methods

new() click to toggle source
# File lib/git_cli.rb, line 81
def initialize
  # version check
  vst, tver = version
  if vst
    if (tver <=> MIN_GIT_VERSION) == -1
      log_warn("Min required version of GIT is #{MIN_GIT_VERSION}. System installed GIT is version #{tver}. The output might not be correct.") 
    end

    log_debug "System GIT version is #{tver}. Min require version is #{MIN_GIT_VERSION}"
  end
  
end