<%= @config.application || "Application" %> has been deployed to <%= @config.stage || "(unknown stage)" %> @ <%= Time.now %>.

## Paths

Previous: <%= @config.previous_release %> @ <%= @config.previous_revision %>
Current:  <%= @config.current_release %> @ <%= @config.current_revision %>

## Commits since last deploy (most recent at bottom)

<%= raw @scm.log.strip -%>

<%= raw @scm.diff_stat -%>

<%- @scm.subdirs_log.each_pair do |dir, log| -%>
### Directory <%= dir %>

<%= raw log.strip %>

<%= raw @scm.subdirs_diff_stat[dir] -%>

<%- end -%>
---
This is an automatically generated deployment message from BriefMail.

<%= @config.application || "Application" %> has been deployed to <%= @config.stage || "(unknown stage)" %> @ <%= Time.now %>.

## Paths

Previous: <%= @config.previous_release %> @ <%= @config.previous_revision %>
Current:  <%= @config.current_release %> @ <%= @config.current_revision %>

## Commits since last deploy (most recent at bottom)

<%= raw @scm.log.strip %>

<%= raw @scm.diff_stat -%>

<%- @scm.subdirs_log.each_pair do |dir, log| -%>
### Directory <%= dir %>

<%= raw log.strip %>

<%= raw @scm.subdirs_diff_stat[dir] -%>

<%- end -%>
---
This is an automatically generated deployment message from BriefMail.

Fix trailing newline for log output (again).
views/deploy_notifiation: Fix trailing newline for log output (again).
