You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/gitdiff
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
6 days ago
..
csv.go Use Go 1.21 and update dependencies (#26878) 2 years ago
csv_test.go Refactor older tests to use testify (#33140) 2 months ago
git_diff_tree.go Remove context from git struct (#33793) 1 week ago
git_diff_tree_test.go Add go wrapper around git diff-tree --raw -r -M (#33369) 1 month ago
gitdiff.go Decouple diff stats query from actual diffing (#33810) 6 days ago
gitdiff_test.go Decouple diff stats query from actual diffing (#33810) 6 days ago
highlightdiff.go Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
highlightdiff_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go make writing main test easier (#27270) 1 year ago
submodule.go add submodule diff links (#33097) 2 months ago
submodule_test.go Use test context in tests and new loop system in benchmarks (#33648) 3 weeks ago