# File lib/new_relic/recipes/capistrano_legacy.rb, line 55 def lookup_changelog(changelog) if !changelog logger.debug "Getting log of changes for New Relic Deployment details" from_revision = source.next_revision(current_revision) if scm == :git log_command = "git --no-pager log --no-color --pretty=format:' * %an: %s' " + "--abbrev-commit --no-merges #{previous_revision}..#{real_revision}" else log_command = "#{source.log(from_revision)}" end changelog = `#{log_command}` end changelog end