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 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>
3 years ago
..
testdata/academic-module Fix panic when diff (#9187) 5 years ago
csv.go Prevent NPE in CSV diff rendering when column removed (#17018) 3 years ago
csv_test.go Enable show more files in diff for git <2.31 (#17733) 3 years ago
gitdiff.go Enable show more files in diff for git <2.31 (#17733) 3 years ago
gitdiff_test.go Enable show more files in diff for git <2.31 (#17733) 3 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago