Skip to content

Commit 2b4e9f1

Browse files
committedAug 4, 2023
Set EOL to LF via gitattributes
- editorconfig already defines that EOL should be LF, which causes (rare) issues in Windows when autocrlf is enabled when a file is reverted: IntelliJ says the file still has modifications, because the line endings have changed. This commit attempts to fix this corner case. Assumption is that all reasonable editors on Windows can deal with LF nowadays.
1 parent 0d75ead commit 2b4e9f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.java text eol=lf

0 commit comments

Comments
 (0)