gitea/services/gitdiff
zeripath 931d0cf854
Enable show more files in diff for git <2.31 (#17733)
Unfortunately due to a misread on my behalf I missed that git diff only learned
--skip-to in version 2.31.0. Thus this functionality was not working on older versions
of git.

This PR adds a handler that simply allows for us to skip reading the diffs until
we find the correct file to skip to.

Fix #17731

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-11-20 13:50:00 +00:00
..
testdata/academic-module
csv.go Prevent NPE in CSV diff rendering when column removed (#17018) 2021-10-20 20:10:03 +01:00
csv_test.go Enable show more files in diff for git <2.31 (#17733) 2021-11-20 13:50:00 +00:00
gitdiff.go Enable show more files in diff for git <2.31 (#17733) 2021-11-20 13:50:00 +00:00
gitdiff_test.go Enable show more files in diff for git <2.31 (#17733) 2021-11-20 13:50:00 +00:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00