mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 12:53:57 +01:00
58ee9fdc4a
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 |
||
---|---|---|
.. | ||
testdata/academic-module | ||
csv.go | ||
csv_test.go | ||
gitdiff.go | ||
gitdiff_test.go | ||
highlightdiff.go | ||
highlightdiff_test.go | ||
main_test.go |