mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 06:03:48 +03:00
gitattributes: go.mod, go.sum always eol=lf (#2753)
This commit is contained in:
parent
8cc2f770fa
commit
96579b97f6
1 changed files with 2 additions and 0 deletions
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -9,6 +9,8 @@
|
|||
|
||||
# go fmt will enforce this, but in case a user has not called "go fmt" allow GIT to catch this:
|
||||
*.go text eol=lf core.whitespace whitespace=indent-with-non-tab,trailing-space,tabwidth=4
|
||||
go.mod text eol=lf
|
||||
go.sum text eol=lf
|
||||
|
||||
*.txt text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
||||
*.tpl text eol=lf core.whitespace whitespace=tab-in-indent,trailing-space,tabwidth=2
|
||||
|
|
Loading…
Reference in a new issue