1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/repofiles
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
..
action_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
action.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
blob_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
blob.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
commit_status.go
commit.go
content_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
content.go
delete.go Support unprotected file patterns (#16395) 2021-09-11 16:21:17 +02:00
diff_test.go Add .gitattribute assisted language detection to blame, diff and render (#17590) 2021-11-17 20:37:00 +00:00
diff.go
file_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
file.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
repofiles_test.go
repofiles.go
temp_repo.go Enable show more files in diff for git <2.31 (#17733) 2021-11-20 13:50:00 +00:00
tree_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
tree.go Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
update.go Read expected buffer size (#17409) 2021-10-24 22:12:43 +01:00
upload.go Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
verification.go