0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-03 00:47:33 +01:00
gitea/routers/api/v1/repo
zeripath a5440fcb1e
Report error if API merge is not allowed (#12528)
#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>
2020-08-19 17:35:06 -04:00
..
blob.go
branch.go
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook_test.go
hook.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
issue.go
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
pull_review.go
pull.go
release_attachment.go
release.go
repo_test.go
repo.go
star.go
status.go
subscriber.go
tag.go
topic.go
transfer.go
tree.go