-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Edit file times out for large files after recent cat-file bugfix #29346
Comments
CC @KN4CK3R as the author of this pull request. I imagine this could affect more than just editing files. |
can confirm. same here i downgraded back to 1.21.5 and working fine again. cant open "larger" files. editor hangs and nothing loads. with bigger files i mean for example (117 lines 6.9 KiB) or (2409 lines 39 KiB) running on a docker container. official image. |
Nice... talked about that problem in the note here #29297 (comment) Calling |
Fixed in #29354 |
Fixes #29346 --------- Co-authored-by: wxiaoguang <[email protected]>
Fixes go-gitea#29346 --------- Co-authored-by: wxiaoguang <[email protected]>
Backport #29354 by @KN4CK3R Fixes #29346 Co-authored-by: KN4CK3R <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
Description
To reproduce:
Happens for any larger text file, works fine for a small file.
I bisected the cause down to #29297.
Gitea Version
1.21.6
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Running locally on Linux with own build, but also happens on try.gitea.io.
Database
None
The text was updated successfully, but these errors were encountered: