Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information