0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 19:18:52 +01:00
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_test.go Enable show more files in diff for git <2.31 (#17733) 2021-11-20 13:50:00 +00:00
csv.go
gitdiff_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
main_test.go