gitlab-org--gitlab-foss/app/mailers/emails
Mark Chao 5b994b8199 Notify only when unmergeable due to conflict
There is still the edge case when 'no commits' changes to 'conflict'
would not trigger notification, which we ignore for now.

Calling can_be_merged? can cause exception (e.g. non-UTF8)
Ignore those by rescueing.

Remove unmergeable_reason as now only conflict is notified

Update spec
2018-06-20 23:27:17 +08:00
..
issues.rb
members.rb
merge_requests.rb Notify only when unmergeable due to conflict 2018-06-20 23:27:17 +08:00
notes.rb Backport 5480-epic-notifications from EE 2018-05-07 12:58:47 -06:00
pages_domains.rb
pipelines.rb
profile.rb
projects.rb