gitea/routers
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 +07:00
..
api Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +07:00
common Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +07:00
install Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +07:00
private Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +07:00
web Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +07:00
init.go Prepare for support performance trace (#33286) 2025-01-15 20:05:18 +07:00