diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2019-05-21 18:14:22 -0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2019-06-12 16:10:35 -0300 |
commit | f3fd706f3558a558c348718c1ee39f765b2bf9e6 (patch) | |
tree | 1d9fafaf09b61f174c836d0aa536bdd4a5ddb905 /app/assets/javascripts/vue_shared/components/pagination_links.vue | |
parent | 50cddd36e505d49ebdb2b20c5c37ede56abad1df (diff) | |
download | gitlab-ce-osw-sync-merge-ref-upon-mergeability-check.tar.gz |
Automatically update MR merge-ref along merge statusosw-sync-merge-ref-upon-mergeability-check
This couples the code that transitions the `MergeRequest#merge_status`
and refs/merge-requests/:iid/merge ref update.
In general, instead of directly telling `MergeToRefService` to update
the merge ref, we should rely on `MergeabilityCheckService` to keep
both the merge status and merge ref synced. Now, if the merge_status is
`can_be_merged` it means the merge-ref is also updated to the latest.
We've also updated the logic to be more systematic and less user-based.
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/pagination_links.vue')
0 files changed, 0 insertions, 0 deletions