Use CR+LF instead of LF regardless of OS
Git by default uses CR+LF on Windows, whereas gofmt always uses LF even on Windows. This commit lets Git uses LF on Windows. Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*.go text eol=lf
|
||||||
Reference in New Issue
Block a user