forgejo/services/repository
zeripath 037d5a33a0
Update only the repository columns that need updating (#12900)
We should only update is_empty, default_branch and updated time columns
during commitRepoAction and not update other columns as we risk
overwriting incorrect information.

Fix #11823
Fix #10536

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-09-20 13:55:15 -04:00
..
generate.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
main_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
push.go Update only the repository columns that need updating (#12900) 2020-09-20 13:55:15 -04:00
push_test.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
repository.go Move all push update operations to a queue (#10133) 2020-09-11 10:14:48 -04:00
transfer.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
transfer_test.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00