forgejo/services/gitdiff
Gusted 419eb0a4a2 feat: improve getting shortstat (#9587)
Refactor the existing functions to get shortstat of commit and between two commits to use performant alternatives, mainly `git-diff-tree` and `git-diff-index`.

Resolves forgejo/forgejo#9551

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9587
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-10-10 14:15:38 +02:00
..
testdata/academic-module
csv.go
csv_test.go
gitdiff.go feat: improve getting shortstat (#9587) 2025-10-10 14:15:38 +02:00
gitdiff_test.go fix: expanding exactly 20 lines between diff sections leaves visual artifact (#8519) 2025-07-16 08:04:38 +02:00
highlightdiff.go
highlightdiff_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
main_test.go