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: 6718ca683598c104efa846bc1ab60429ca7b7f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#{@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