-
-
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
Web GUI commit diff shows large change for a single line change #27837
Comments
I can't reproduce this |
Maybe you accidentality changed the EOL |
It's obvoius from your try site link. Before all content are in one line, after those content is splitted as multiple lines. |
That's the HTML standard. All lines in textarea end with "\r\n", and Gitea ever did some tricks. Such behavior should have been fixed by " Fix EOL handling in web editor #27141 " |
@lunny Looking at a diff of the commit at my try site link, they look like they were individual lines before and after, unsure what you're meaning here. Unless maybe my text editor is fixing the newline characters. |
Description
When doing a commit from web UI, diff shows large change for a single line change, in files too large for the editor.
To reproduce, using the web GUI at try.gitea.io:
https://try.gitea.io/vettatest2/test1/commit/fcf0c440d3fe1aad64e8884fec5d24f462cedc1a
Gitea Version
1.22.0+dev-256-gb36e2ca41
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Too large to show in a screenshot
Git Version
Whichever try.gitea.io is running
Operating System
Whichever try.gitea.io is running
How are you running Gitea?
We run Gitea with Docker, but for this bug, it's fully reproducable in try.gitea.io.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: