mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
use LF line endings for all text files in intellij-community by default (IJI-526)
Before, it was recommended to set `core.autocrlf` Git option to `input` before checking out the repository, and most of the files in the repository use LF line endings. However, it was easier to forget changing the option. In that case you will get CRLF line endings on Windows, and it leads to problems in some cases (see IDEA-297137, for example). Now usage of LF line endings in the working tree is forced via the .gitattributes file. If it's necessary to use CRLF line endings in a specific file, it must be specified explicitly by via a .gitattributes file. GitOrigin-RevId: 7ac559d8f3ec32f2a37c01937d233e26f821c664
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4a93b77998
commit
12a5fa2add
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1,5 +1,5 @@
|
||||
# keep this the first line in the file
|
||||
* text=auto
|
||||
* text=auto eol=lf
|
||||
|
||||
# Do not touch line endings, but show diff
|
||||
.idea/libraries/rd* -text
|
||||
|
||||
Reference in New Issue
Block a user