Commit 59f0d91a authored by Douwe Maan's avatar Douwe Maan

Prefix EmailsOnPush email subject with `[Git]`.

parent 84cb0dcb
......@@ -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
......
......@@ -93,7 +93,8 @@ def repository_push_email(project_id, recipient, author_id: nil,
"pushed to"
end
@subject = "[#{@project.path_with_namespace}]"
@subject = "[Git]"
@subject << "[#{@project.path_with_namespace}]"
@subject << "[#{@ref_name}]" if action == :push
@subject << " "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment