summaryrefslogtreecommitdiff
path: root/app/views/notify/repository_push_email.text.haml
blob: 4d7c972a16a0af1d059e7d9777de9a2b898e69dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#{@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} → #{diff.new_path}
  - else
    = diff.new_path || diff.old_path
  \=====================================
  != diff.diff
\
- if @compare.timeout
  Huge diff. To prevent performance issues it was hidden