1
1
mirror of https://github.com/go-gitea/gitea synced 2025-03-10 12:44:28 +00:00
gitea/services
wxiaoguang 6422f05a4e
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
2025-03-08 17:36:08 +08:00
..
2025-03-03 05:36:10 +00:00
2025-01-13 14:01:53 +08:00
2025-01-31 19:05:48 +08:00
2024-12-29 01:05:56 +00:00
2023-12-25 21:25:29 +01:00
2024-05-20 00:56:45 +00:00