forgejo/services/repository
Gusted 7713e558eb
[GITEA] Remove redundant syncBranchToDB
- The transaction in combination with Git push was causing deadlocks if
you had the `push_update` queue set to `immediate`. This was the root
cause of slow integration tests in CI.
- Remove the sync branch code as this is already being done in the Git
post-receive hook.
- Add tests to proof the branch models are in sync even with this code
removed.

(cherry picked from commit 90110e1f44)
(cherry picked from commit a064065cb9)
2023-12-25 10:31:22 +01:00
..
archiver
files
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go [GITEA] Remove redundant syncBranchToDB 2023-12-25 10:31:22 +01:00
cache.go
check.go
collaboration.go
collaboration_test.go
commit.go
create.go
create_test.go
delete.go
delete_test.go
fork.go
fork_test.go
hooks.go
lfs.go
lfs_test.go
main_test.go
push.go
repository.go
repository_test.go
review.go
review_test.go
template.go
transfer.go
transfer_test.go