diff options
author | Jason Song <i@wolfogre.com> | 2024-03-25 15:00:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 15:00:16 +0800 |
commit | c6c4d66004c70b24abc8048b39b660b8361a0395 (patch) | |
tree | da0063343c72492a9ebf0c6a4506e230766806a6 /models/issues/issue_xref.go | |
parent | 2e31a2800e1112ee0ab5a8d3c66b0fba2e737870 (diff) | |
download | gitea-c6c4d66004c70b24abc8048b39b660b8361a0395.tar.gz gitea-c6c4d66004c70b24abc8048b39b660b8361a0395.zip |
Fix misuse of `TxContext` (#30061)
Help #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.
Diffstat (limited to 'models/issues/issue_xref.go')
0 files changed, 0 insertions, 0 deletions