gitlab-org--gitlab-foss/app
Rémy Coutable 4a8a8282d9 Fix an issue when the target branch of a MR had been deleted
Before displaying the "diverged commits" note, we're checking if the MR
is open, but we should check if it's mergeable instead because this
check ensure the source and target branches exist.

This was introduced by !2217 and fixes #14388.
2016-03-18 19:01:20 +01:00
..
assets Merge branch 'refactor-variables' into 'master' 2016-03-18 17:42:39 +00:00
controllers Merge branch 'trigger-todo-for-mentions-on-commits-page' into 'master' 2016-03-18 17:10:09 +00:00
finders Restrict access to confidential issues 2016-03-17 20:55:38 -03:00
helpers Merge branch 'trigger-todo-for-mentions-on-commits-page' into 'master' 2016-03-18 17:10:09 +00:00
mailers Create a SentNotification record for #relabeled_issue_email / #relabeled_merge_request_email 2016-03-15 18:36:54 +01:00
models Refactor `Todo#target` 2016-03-18 13:27:27 -03:00
services Use `Note#for_project_snippet?` to skip notes on project snippet 2016-03-18 11:07:30 -03:00
uploaders Revert "Merge branch 'avatar-cropping' into 'master' " 2016-03-15 14:55:40 +01:00
validators Allow webhooks URL to have leading and trailing spaces 2016-02-26 14:34:06 -05:00
views Fix an issue when the target branch of a MR had been deleted 2016-03-18 19:01:20 +01:00
workers Back-porting PostReceive refactor made for EE 🍺 2016-03-17 00:24:12 -03:00