diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-12-28 15:28:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 15:28:57 +0800 |
commit | 921df1cbad83dcba37ff12cba88c7d3a69f8588b (patch) | |
tree | 2f7e2ad14f2cd284a2740c8198605d5ccc132de9 /models/issues/review.go | |
parent | 4cd666d7dcc7531806cde65c6468f93529cc23dd (diff) | |
download | gitea-921df1cbad83dcba37ff12cba88c7d3a69f8588b.tar.gz gitea-921df1cbad83dcba37ff12cba88c7d3a69f8588b.zip |
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.
Diffstat (limited to 'models/issues/review.go')
0 files changed, 0 insertions, 0 deletions