gitea/services/repository/files
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
..
cherry_pick.go Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
commit.go Move commits signature and verify functions to service layers (#33605) 2025-02-16 12:24:07 +00:00
content_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
content.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
diff_test.go Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +08:00
diff.go Fix reverting a merge commit failing (#28794) 2024-01-16 15:06:51 +00:00
file_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
file.go Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
patch.go Remove context from git struct (#33793) 2025-03-04 11:56:11 -08:00
temp_repo.go Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +08:00
tree_test.go Clarify path param naming (#32969) 2024-12-24 13:47:45 +00:00
tree.go Move some errors to their own sub packages (#32880) 2024-12-20 18:05:29 +00:00
update.go Support choose email when creating a commit via web UI (#33432) 2025-01-30 01:24:57 +00:00
upload.go Support choose email when creating a commit via web UI (more) (#33445) 2025-01-31 02:36:18 +00:00