gitea/modules/repository
zeripath 7cd47046ea
Handle push rejection in branch and upload ()
* 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 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
..
branch.go Handle push rejection in branch and upload ()
check.go Refactor repository check and sync functions ()
commits.go make avatar lookup occur at image request ()
commits_test.go make avatar lookup occur at image request ()
create.go [API] Fix inconsistent label color format ()
create_test.go Various fixes in login sources ()
fork.go Refactor repository check and sync functions ()
fork_test.go Move create/fork repository from models to modules/repository ()
generate.go Option to set default branch at repository creation ()
hooks.go Refactor repository check and sync functions ()
init.go Option to set default branch at repository creation ()
main_test.go Move push commits from models to modules/repository ()
repo.go API add/generalize pagination ()
update.go Move PushUpdateAddDeleteTags to repository module from models ()