Welcome to mirror list, hosted at ThFree Co, Russian Federation.

repository_push_email.text.haml « notify « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 93b344d2c8285adcec9fa12f7b7f25af0ceb0dba (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} - #{truncate(commit.title, length: 40)}
\
\
Diff:
- @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?
  Diff for big amount of commits is disabled