Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
59f0d91a
Commit
59f0d91a
authored
9 years ago
by
Douwe Maan
Browse files
Options
Download
Email Patches
Plain Diff
Prefix EmailsOnPush email subject with `[Git]`.
parent
84cb0dcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGELOG
CHANGELOG
+1
-0
app/mailers/emails/projects.rb
app/mailers/emails/projects.rb
+2
-1
No files found.
CHANGELOG
View file @
59f0d91a
...
...
@@ -7,6 +7,7 @@ v 7.12.0 (unreleased)
- Update Asciidoctor gem to version 1.5.2. (Jakub Jirutka)
- Fix resolving of relative links to repository files in AsciiDoc documents. (Jakub Jirutka)
- Use the user list from the target project in a merge request (Stan Hu)
- Prefix EmailsOnPush email subject with `[Git]`.
v 7.11.2
- no changes
...
...
This diff is collapsed.
Click to expand it.
app/mailers/emails/projects.rb
View file @
59f0d91a
...
...
@@ -93,7 +93,8 @@ module Emails
"pushed to"
end
@subject
=
"[
#{
@project
.
path_with_namespace
}
]"
@subject
=
"[Git]"
@subject
<<
"[
#{
@project
.
path_with_namespace
}
]"
@subject
<<
"[
#{
@ref_name
}
]"
if
action
==
:push
@subject
<<
" "
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment