Trivial: update git attributes for Makefile (#638)

* Update .gitattributes for Go files

- Mark go source files as text, with LF line ending.
- Set git diff language mode for `*.go` files to `golang`

* Add .gitattributes entry for Makefiles
This commit is contained in:
Julio López authored and GitHub committed 2020-09-22 21:32:53 -07:00
1 parent 44ad8b58c1
commit 6b0b79afe1
1 file changed
+4 -2
+4 -2
View File
@@ -1,2 +1,4 @@
*.go whitespace=trailing-space,space-before-tab,indent-with-non-tab
go.mod whitespace=trailing-space,space-before-tab,indent-with-non-tab
*.go text eol=lf whitespace=trailing-space,space-before-tab,indent-with-non-tab diff=golang
go.mod text eol=lf whitespace=trailing-space,space-before-tab,indent-with-non-tab
go.sum text eol=lf whitespace=trailing-space,space-before-tab,indent-with-non-tab
Makefile text eol=lf whitespace=trailing-space,space-before-tab,indent-with-non-tab