gitea/services
zeripath 7cd47046ea
Handle push rejection in branch and upload (#10854)
* Handle push rejections and push out-of-date in branch creation and
file upload.
* Remove the duplicated sanitize from services/pull/merge
* Move the errors Err(Merge)PushOutOfDate and ErrPushRejected to
modules/git
* Handle errors better in the upload file dialogs

Fix #10460

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-03-28 01:13:18 -03:00
..
comments
externalaccount
gitdiff Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments (#9996) 2020-01-28 08:02:03 +00:00
issue Trigger webhooks on issue label-change via API too (#10421) 2020-02-23 22:53:08 +00:00
mailer
mirror
pull Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
release
repository
wiki Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00