forgejo/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 Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
files
adopt.go
adopt_test.go
avatar.go
avatar_test.go
branch.go Remove unnecessary syncbranchToDB with tests (#28624) 2023-12-28 15:28:57 +08: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