forgejo/services/gitdiff
Gusted 58ee9fdc4a feat: Improve diff being generated
Add `DiffCleanupSemantic` into the mix when generated diffs (PR review,
commit view and issue/comment history). This avoids trying to produce a
optimal diff and tries to reduce the amount of edits, by combing them
into larger edits, which is nicer and easier to 'look at'. There's no
need for a perfect minimal diff, as the output isn't being parsed by a
computer, it's parsed by people.

Ref: https://codeberg.org/forgejo/forgejo/issues/4996
2024-08-26 13:58:17 +02:00
..
testdata/academic-module
csv.go
csv_test.go Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
gitdiff.go feat: highlighted code search results (#4749) 2024-08-06 05:57:25 +00:00
gitdiff_test.go Fix linting issues 2024-08-18 16:25:13 +02:00
highlightdiff.go feat: Improve diff being generated 2024-08-26 13:58:17 +02:00
highlightdiff_test.go feat: highlighted code search results (#4749) 2024-08-06 05:57:25 +00:00
main_test.go