aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2025-02-13 22:49:58 -0800
committerGitHub <noreply@github.com>2025-02-14 06:49:58 +0000
commitf232d8f5309fbf316e297cb7c04eb431f2c7ae24 (patch)
treeac3f94823319609d42cf6997f8c17eba778e2d34 /services
parentb426e383fe1a75680a0ebc349e7c939aa438e8db (diff)
downloadgitea-f232d8f5309fbf316e297cb7c04eb431f2c7ae24.tar.gz
gitea-f232d8f5309fbf316e297cb7c04eb431f2c7ae24.zip
Performance optimization for pull request files loading comments attachments (#33585)
Diffstat (limited to 'services')
-rw-r--r--services/gitdiff/gitdiff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/gitdiff/gitdiff.go b/services/gitdiff/gitdiff.go
index f046e59678..064f05cfce 100644
--- a/services/gitdiff/gitdiff.go
+++ b/services/gitdiff/gitdiff.go
@@ -80,7 +80,7 @@ type DiffLine struct {
Match int
Type DiffLineType
Content string
- Comments []*issues_model.Comment
+ Comments issues_model.CommentList
SectionInfo *DiffLineSectionInfo
}