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 +07:00
..
actions Refactor error system (#33771) 2025-03-03 05:36:10 +07:00
agit Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
asymkey Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
attachment Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +07:00
auth Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
automerge Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +07:00
context Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +07:00
contexttest Avoid duplicate SetContextValue call (#33564) 2025-02-12 14:25:46 +07:00
convert Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +07:00
cron Use default Git timeout when checking repo health (#33593) 2025-02-14 15:13:56 +07:00
doctor Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +07:00
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-16 20:33:16 +07:00
feed Refactor RefName (#33234) 2025-01-13 14:01:53 +07:00
forms Refactor: move part of updating protected branch logic to service layer (#33742) 2025-03-05 19:15:40 +07:00
git Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +07:00
gitdiff Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +07:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +07:00
issue Move issue pin to an standalone table for querying performance (#33452) 2025-02-17 11:28:37 +07:00
lfs Fix SSH LFS memory usage (#33455) 2025-01-31 19:05:48 +07:00
mailer remove context from mail struct (#33811) 2025-03-06 20:57:00 +07:00
markup Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +07:00
migrations Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
mirror Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
notify Refactor repository transfer (#33211) 2025-01-30 05:40:44 +07:00
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +07:00
org Refactor tests (#33021) 2024-12-29 01:05:56 +07:00
packages Add composor source field (#33502) 2025-02-28 16:29:21 +07:00
projects Fix project issues list and counting (#33594) 2025-02-17 05:14:56 +07:00
pull Refactor: move part of updating protected branch logic to service layer (#33742) 2025-03-05 19:15:40 +07:00
release Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00
repository Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +07:00
secrets Refactor deletion (#28610) 2023-12-25 21:25:29 +07:00
task Fix "force private" logic (#31012) 2024-05-20 00:56:45 +07:00
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +07:00
user Refactor repository transfer (#33211) 2025-01-30 05:40:44 +07:00
versioned_migration Add global lock for migrations to make upgrade more safe with multiple replications (#33706) 2025-03-07 21:08:53 +07:00
webhook Adjust appearence of commit status webhook (#33778) 2025-03-03 21:23:42 +07:00
webtheme Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +07:00
wiki Remove context from git struct (#33793) 2025-03-04 11:56:11 +07:00