0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-12 01:40:11 +01:00
gitea/services/repository
Lunny Xiao 921df1cbad
Remove unnecessary syncbranchToDB with tests (#28624)
#28361 introduced `syncBranchToDB` in `CreateNewBranchFromCommit`. This
PR will revert the change because it's unnecessary. Every push will
already be checked by `syncBranchToDB`.
This PR also created a test to ensure it's right.
2023-12-28 15:28:57 +08:00
..
archiver
files
adopt_test.go
adopt.go
avatar_test.go
avatar.go
branch.go Remove unnecessary syncbranchToDB with tests (#28624) 2023-12-28 15:28:57 +08:00
cache.go
check.go
collaboration_test.go
collaboration.go
commit.go
create_test.go
create.go
delete_test.go
delete.go
fork_test.go
fork.go
hooks.go
lfs_test.go
lfs.go
main_test.go
push.go
repository_test.go
repository.go
review_test.go
review.go
template.go
transfer_test.go
transfer.go