mirror of
https://github.com/go-gitea/gitea
synced 2025-01-18 14:27:43 +01:00
a5440fcb1e
#12496 demonstrated that the API merge needs to return some information as to why a merge has been disallowed with a status code 422. This PR ensures that a reason is always returned. Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>