def load_git_info
      git_progressbar = ProgressBar.create(title: 'Git Info', total: errors.size) if display_bar?
      start = @runner.class.base_path =~ /\/$/ ? @runner.class.base_path.size : @runner.class.base_path.size + 1
      errors.each do |error|
        git_info = `cd #{@runner.class.base_path} && git blame -L #{error.line_number.split(',').first},+1 #{error.filename[start..-1]}`
        unless git_info == ''
          git_commit, git_username = git_info.split(/\d{4}-\d{2}-\d{2}/).first.split('(')
          error.git_commit = git_commit.split(' ').first.strip
          error.git_username = git_username.strip
        end
        git_progressbar.increment if display_bar?
      end
      git_progressbar.finish if display_bar?
    end
def load_git_info
      git_progressbar = ProgressBar.create(title: 'Git Info', total: errors.size) if display_bar?
      start = @runner.class.base_path =~ /\/$/ ? @runner.class.base_path.size : @runner.class.base_path.size + 1
      errors.each do |error|
        git_info = `cd #{@runner.class.base_path} && git blame -L #{error.line_number.split(',').first},+1 #{error.filename[start..-1]}`
        unless git_info == ''
          git_commit, git_username = git_info.split(/\d{4}-\d{2}-\d{2}/).first.split('(')
          error.git_commit = git_commit.split(' ').first.strip
          error.git_username = git_username.strip
        end
        git_progressbar.increment if display_bar?
      end
      git_progressbar.finish if display_bar?
    end
load git commit and git username info.