• Douwe Maan's avatar
    Merge branch '14139-sha-parameter-in-accept-merge-request-api' into 'master' · 0e2490c0
    Douwe Maan authored
    Resolve "SHA parameter in accept merge request API"
    
    Add a `sha` parameter to the MR merge API, which must match the source SHA for the branch to be merged.
    
    Also add the same parameter to the UI:
    
    ![MR_SHA](/uploads/616da728695dc19fa7ef7ef6a016ff81/MR_SHA.gif)
    
    @DouweM and I discussed adding some smart feature to that, like updating the source SHA on navigating to the diff tab, but for now it will just require a refresh 😃
    
    Closes #14139.
    
    See merge request !4414
    0e2490c0
Name
Last commit
Last update
..
assets Loading commit data...
controllers Loading commit data...
finders Loading commit data...
helpers Loading commit data...
mailers Loading commit data...
models Loading commit data...
services Loading commit data...
uploaders Loading commit data...
validators Loading commit data...
views Loading commit data...
workers Loading commit data...