0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-15 18:05:15 +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 Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
files Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
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 Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
check.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
collaboration_test.go
collaboration.go
commit.go
create_test.go Remove unnecessary parameter (#27671) 2023-10-18 15:03:10 +00:00
create.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
delete_test.go Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
delete.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
fork_test.go
fork.go
hooks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
lfs_test.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 2023-12-07 15:27:36 +08:00
lfs.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
main_test.go
push.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
repository_test.go
repository.go Remove unnecessary parameter (#27671) 2023-10-18 15:03:10 +00:00
review_test.go
review.go
template.go
transfer_test.go
transfer.go