forgejo/routers/api/v1/repo
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
..
blob.go
branch.go Allow to set protected file patterns that can not be changed under no conditions (#10806) 2020-03-27 00:26:34 +02:00
collaborators.go
commits.go
file.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
issue_comment.go
issue_label.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
issue_reaction.go
issue_stopwatch.go Prevent panic in stopwatch (#10670) 2020-03-08 14:46:24 -03:00
issue_subscription.go Code Refactor of IssueWatch related things (#10401) 2020-02-26 03:32:22 -03:00
issue_tracked_time.go
key.go
label.go [Refactor] move APIFormat() of Issue and Label to convert package (#10423) 2020-02-28 23:49:50 -03:00
main_test.go
migrate.go
milestone.go
mirror.go
pull.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
release.go
release_attachment.go
repo.go Option to set default branch at repository creation (#10803) 2020-03-26 19:14:51 +00:00
repo_test.go
star.go
status.go
subscriber.go
tag.go
topic.go
transfer.go
tree.go