mirror of https://github.com/docker/cli.git
Merge pull request #5381 from Benehiko/lf-exclude-binary
fix: gitattributes enforcing line endings
This commit is contained in:
commit
2230089371
|
@ -1,5 +1,14 @@
|
||||||
* text=auto eol=lf
|
* text=auto
|
||||||
|
|
||||||
Dockerfile* linguist-language=Dockerfile
|
Dockerfile* linguist-language=Dockerfile
|
||||||
vendor.mod linguist-language=Go-Module
|
vendor.mod linguist-language=Go-Module
|
||||||
vendor.sum linguist-language=Go-Checksums
|
vendor.sum linguist-language=Go-Checksums
|
||||||
*.bat text eol=crlf
|
|
||||||
|
*.go -text diff=golang
|
||||||
|
|
||||||
|
# scripts directory contains shell scripts
|
||||||
|
# without extensions, so we need to force
|
||||||
|
scripts/** text=auto eol=lf
|
||||||
|
|
||||||
|
# shell scripts should always have LF
|
||||||
|
*.sh text eol=lf
|
||||||
|
|
Loading…
Reference in New Issue