diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2025-02-13 22:49:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-14 06:49:58 +0000 |
commit | f232d8f5309fbf316e297cb7c04eb431f2c7ae24 (patch) | |
tree | ac3f94823319609d42cf6997f8c17eba778e2d34 /services | |
parent | b426e383fe1a75680a0ebc349e7c939aa438e8db (diff) | |
download | gitea-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.go | 2 |
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 } |