mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #5381 from Benehiko/lf-exclude-binary
fix: gitattributes enforcing line endings
This commit is contained in:
13
.gitattributes
vendored
13
.gitattributes
vendored
@@ -1,5 +1,14 @@
|
||||
* text=auto eol=lf
|
||||
* text=auto
|
||||
|
||||
Dockerfile* linguist-language=Dockerfile
|
||||
vendor.mod linguist-language=Go-Module
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user