25cc5fbf78
Also-by: Andrew Karpow <andy@ndyk.de>
25 lines
674 B
Text
25 lines
674 B
Text
#{@author.name} pushed to #{@branch} at #{@project.name_with_namespace}
|
|
|
|
\
|
|
Commits:
|
|
- @commits.each do |commit|
|
|
#{commit.short_id} - #{truncate(commit.title, length: 40)}
|
|
\
|
|
\
|
|
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} → #{diff.new_path}
|
|
- else
|
|
= diff.new_path || diff.old_path
|
|
\=====================================
|
|
!= diff.diff
|
|
\
|
|
- if @compare.timeout
|
|
Huge diff. To prevent performance issues it was hidden
|
|
- elsif @compare.commits_over_limit?
|
|
Changes are not shown due to large amount of commits
|