Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-13 06:51:57 +01:00
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 rm .sample hooks which aren't used (#19101) 2022-03-16 10:33:07 +00:00
csv.go Use Go 1.21 and update dependencies (#26878) 2023-09-03 10:34:57 +00:00
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 make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00