Merge pull request #5381 from Benehiko/lf-exclude-binary

fix: gitattributes enforcing line endings
This commit is contained in:
Alano Terblanche 2024-09-09 08:51:54 +02:00 committed by GitHub
commit 2230089371
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 2 deletions

13
.gitattributes vendored
View File

@ -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