forgejo/services/gitdiff
zeripath f5b0e2c9d2
Simplify split diff view generation and remove JS dependency (#16775)
Gitea has relied on some slow JS code to match up added and deleted lines on the
diff pages. This can cause a considerable slow down on large diff pages.

This PR makes a small change meaning that the matching up can occur much more simply.

Partial fix #1351

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-29 15:28:04 +01:00
..
testdata/academic-module Fix panic when diff (#9187) 2019-11-28 17:05:57 +08:00
csv.go Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
csv_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
gitdiff.go Simplify split diff view generation and remove JS dependency (#16775) 2021-08-29 15:28:04 +01:00
gitdiff_test.go Add an abstract json layout to make it's easier to change json library (#16528) 2021-07-24 18:03:58 +02:00
main_test.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00