# File lib/churn/scm/git_analyzer.rb, line 18 def generate_history(starting_point) get_commit_history.each do |commit| `git checkout #{commit}` commit_date = `git show -s --format="%ci"` commit_date = Time.parse(commit_date) next if commit_date < starting_point #7776000 == 3.months without adding active support depenancy start_date = (commit_date - 7776000) `churn -s "#{start_date}"` end ensure `git checkout master` end