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

Fix misuse of TxContext (#30061) #30062

Merged
merged 1 commit into from
Mar 25, 2024

Commits on Mar 25, 2024

  1. Fix misuse of TxContext (go-gitea#30061)

    Help go-gitea#29999, or its tests cannot pass.
    
    Also, add some comments to clarify the usage of `TxContext`.
    
    I don't check all usages of `TxContext` because there are too many
    (almost 140+). It's a better idea to replace them with `WithTx` instead
    of checking them one by one. However, that may be another refactoring
    PR.
    wolfogre authored and GiteaBot committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    7230746 View commit details
    Browse the repository at this point in the history