Class: MetricFu::Churn::Git

Inherits:
SourceControl show all
Defined in:
lib/generators/churn.rb

Instance Method Summary collapse

Methods inherited from SourceControl

#initialize

Constructor Details

This class inherits a constructor from MetricFu::Churn::SourceControl

Instance Method Details

#get_logsObject



56
57
58
# File 'lib/generators/churn.rb', line 56

def get_logs
  `git log #{date_range} --name-only --pretty=format:`.split(/\n/).reject{|line| line == ""}
end