forgejo/modules/repofiles
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
..
action.go
action_test.go
blob.go
blob_test.go
commit.go
commit_status.go
content.go
content_test.go
delete.go
diff.go
diff_test.go
file.go
file_test.go
repofiles.go
repofiles_test.go
temp_repo.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
tree.go
tree_test.go
update.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
upload.go
verification.go