You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/gitdiff
zeripath 0767fe0d80
Prevent panic on diff generation (#16950)
The lastLeftIdx should be reset at the same time as creating a new section otherwise
it is possible for a second addition to end up attempting to read a nil entry.

Fix #16943

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
testdata/academic-module Fix panic when diff (#9187) 5 years ago
csv.go Add Tabular Diff for CSV files (#14661) 3 years ago
csv_test.go Fixed assert statements. (#16089) 3 years ago
gitdiff.go Prevent panic on diff generation (#16950) 3 years ago
gitdiff_test.go Repare and Improve GetDiffRangeWithWhitespaceBehavior (#16894) 3 years ago
main_test.go Move git diff codes from models to services/gitdiff (#7889) 5 years ago