Adding in root level .gitattributes file.
This is to pin the .go files to LF line endings. Developing on windows and using the vagrant environment to build, running `make fmt` will cause all the *.go files to be touched, alterting their line endings and causing git to see them as changed.
This commit is contained in:
parent
a089539d3b
commit
894b917016
|
@ -0,0 +1,4 @@
|
|||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
*.go eol=lf
|
Loading…
Reference in New Issue