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:
parent
40a76139bd
commit
8fe1bd5ef2
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.go text eol=lf
|
Loading…
Reference in New Issue
Block a user