Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary syncbranchToDB with tests (#28624) #28625

Closed

Commits on Dec 28, 2023

  1. Remove unnecessary syncbranchToDB with tests (go-gitea#28624)

    go-gitea#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.
    lunny authored and GiteaBot committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    05e7c0b View commit details
    Browse the repository at this point in the history