forgejo-federation/services/gitdiff
mrsdizzie 0171dda728
Improved diff syntax highlighting fix (#12455)
Make previous fix from #12238 more robust since I saw a case where a diff changes only a single character in a chroma class instead of the entire thing. Add another more complicated test to match.

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-08-08 11:17:02 +01:00
..
testdata/academic-module Fix panic when diff (#9187) 2019-11-28 17:05:57 +08:00
gitdiff.go Improved diff syntax highlighting fix (#12455) 2020-08-08 11:17:02 +01:00
gitdiff_test.go Improved diff syntax highlighting fix (#12455) 2020-08-08 11:17:02 +01:00
main_test.go Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00