gitea/routers/api/v1
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
..
activitypub Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
admin Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
misc Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
notify Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
org Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
packages Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
repo Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +08:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
swagger Artifacts download api for artifact actions v4 (#33510) 2025-02-16 08:32:54 +08:00
user Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
utils Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
api.go Improve swagger generation (#33664) 2025-02-21 00:04:30 -08:00