Files
gitlabhq/spec
Douwe Maan 03b12ee550 Merge branch 'fix-commits-manual-merge' into 'master'
Fix bug where manually merged branches in a MR would end up with an empty diff

This bug manifested in 8.1 with the refactoring of `RefreshService`. Here's what happens:

1. User create a new branch `foo`.
2. User creates a merge request for `foo`.
3. User merges `foo` into `master` by hand.
4. `RefreshService` reloads the merge request. Since `master` is equivalent to `foo`, this results in an empty diff.
5. `RefreshService` then closes the MR.

This wasn't an issue when you use the normal "Accept Merge Request" flow because the act of clicking the button closes the merge request, so step 4 never happens.

Closes #3314

See merge request !1758
2015-11-09 11:12:42 +00:00
..
2015-11-08 23:55:47 +01:00
2015-11-05 15:24:27 +01:00
2015-08-21 16:09:55 -07:00
2015-11-03 15:05:50 +02:00
2015-11-08 23:55:47 +01:00
2015-10-06 16:11:59 +02:00
2015-11-03 13:12:16 +01:00
2015-08-04 14:33:18 +02:00
2015-05-28 18:22:32 -04:00