0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-17 12:32:38 +02:00
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
..
2024-02-25 13:32:13 +00:00
2025-03-03 05:36:10 +00:00
2025-01-31 19:05:48 +08:00
2023-02-11 08:39:50 +08:00
2023-12-25 20:13:18 +08:00
2025-01-17 08:55:02 +00:00
2022-12-30 23:31:00 +08:00
2024-12-24 01:54:19 +00:00
2025-03-03 05:36:10 +00:00
2025-01-23 18:53:06 +00:00