Open
Description
- Gitea version (or commit ref): 1.10.0
- Git version: ?
- Operating system: Windows
- Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- Not relevant
- Log gist:
Description
We are using * -text
in .gitattributes
to avoid any changes when checking in or out from git. This works very well and we do not intend to change this behavior.
We thus have many files with Window line endings committed. When we now use the integrated Gitea editor, all line endings will be replaced with LF.
See this commit:
https://try.gitea.io/Luke/Repo2/commit/a3ef603d463101239513288eb026ed55869e2490
Expected behavior
- Do not touch lines that were not changed.
- and use same line ending for new line as in rest of file.