# File lib/new_relic/recipes/capistrano3.rb, line 65 def lookup_changelog previous_revision = fetch(:previous_revision) current_revision = fetch(:current_revision) return unless current_revision && previous_revision debug "Retrieving changelog for New Relic Deployment details" if scm == :git log_command = "git --no-pager log --no-color --pretty=format:' * %an: %s' " + "--abbrev-commit --no-merges #{previous_revision}..#{current_revision}" `#{log_command}` end end