aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/review.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-12-28 15:28:57 +0800
committerGitHub <noreply@github.com>2023-12-28 15:28:57 +0800
commit921df1cbad83dcba37ff12cba88c7d3a69f8588b (patch)
tree2f7e2ad14f2cd284a2740c8198605d5ccc132de9 /models/issues/review.go
parent4cd666d7dcc7531806cde65c6468f93529cc23dd (diff)
downloadgitea-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