diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2025-03-08 17:36:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-08 17:36:08 +0800 |
commit | 6422f05a4e2610a31b6137267b7bf53ae1b2b093 (patch) | |
tree | d5c98e036b7dab5362a40f638e356e10b5dd3861 /.editorconfig | |
parent | 1b2dffff8ed265cb799a2c22202c7818989330e2 (diff) | |
download | gitea-6422f05a4e2610a31b6137267b7bf53ae1b2b093.tar.gz gitea-6422f05a4e2610a31b6137267b7bf53ae1b2b093.zip |
Decouple diff stats query from actual diffing (#33810)
The diff stats are no longer part of the diff generation.
Use `GetDiffShortStat` instead to get the total number of changed files,
added lines, and deleted lines.
As such, `gitdiff.GetDiff` can be simplified:
It should not do more than expected.
And do not run "git diff --shortstat" for pull list. Fix #31492
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions