gitlab-org--gitlab-foss/app/views/notify/repository_push_email.text.haml
Dmitriy Zaporozhets f844556531
Fix email on push
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 15:18:11 +03:00

25 lines
605 B
Text

#{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
\
Commits:
- @commits.each do |commit|
#{commit.short_id} by #{commit.author_name}
#{commit.safe_message}
\- - - - -
\
\
Changes:
- @diffs.each do |diff|
\
\=====================================
- if diff.old_path == diff.new_path
= diff.new_path
- elsif diff.new_path && diff.old_path
#{diff.old_path} &rarr; #{diff.new_path}
- else
= diff.new_path || diff.old_path
\=====================================
!= diff.diff
\
- if @compare.timeout
Huge diff. To prevent performance issues it was hidden