-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Don't use full-file highlight when there is a git diff textconv #35114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
How hard is it to add a test? |
Very hard, see the issue's steps ... so I think I don't have enough time to propose a test for it at the moment ....... Maybe in the future we can split the large function into small ones and test the small ones with some mock data (but this PR is small enough to backport) |
Yeah, should always extract testable functions, not have big untestable messes. |
* giteaofficial/main: [skip ci] Updated translations via Crowdin Fix session gob (go-gitea#35128) Replace `setup-python` with `setup-uv` (go-gitea#35116) Don't use full-file highlight when there is a git diff textconv (go-gitea#35114) Fix submodule parsing when the gitmodules is missing (go-gitea#35109) Align `issue-title-buttons` with `list-header` (go-gitea#35018)
Fix #35106