forgejo/modules/repository
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
..
branch.go Handle push rejection in branch and upload (#10854) 2020-03-28 01:13:18 -03:00
check.go Refactor repository check and sync functions (#9854) 2020-01-20 20:01:19 +00:00
commits_test.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
commits.go make avatar lookup occur at image request (#10540) 2020-03-27 14:34:39 +02:00
create_test.go Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
create.go [API] Fix inconsistent label color format (#10129) 2020-02-09 14:33:03 +00:00
fork_test.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
fork.go Refactor repository check and sync functions (#9854) 2020-01-20 20:01:19 +00:00
generate.go Option to set default branch at repository creation (#10803) 2020-03-26 19:14:51 +00:00
hooks.go Refactor repository check and sync functions (#9854) 2020-01-20 20:01:19 +00:00
init.go Option to set default branch at repository creation (#10803) 2020-03-26 19:14:51 +00:00
main_test.go Move push commits from models to modules/repository (#9370) 2020-01-10 17:34:21 +08:00
repo.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
update.go Move PushUpdateAddDeleteTags to repository module from models (#10106) 2020-02-03 09:47:04 +01:00