aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/issue_xref.go
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2024-03-25 15:00:16 +0800
committerGitHub <noreply@github.com>2024-03-25 15:00:16 +0800
commitc6c4d66004c70b24abc8048b39b660b8361a0395 (patch)
treeda0063343c72492a9ebf0c6a4506e230766806a6 /models/issues/issue_xref.go
parent2e31a2800e1112ee0ab5a8d3c66b0fba2e737870 (diff)
downloadgitea-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