-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.
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.
SIkebe, emngaiden, Bob74, MarekChr, ell1e and 1 moreThePirateWhoSmellsOfSunflowers
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.