소스 검색

fix: binary file line endings

Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
Alano Terblanche 8 달 전
부모
커밋
4a6ab2b37d
1개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 11 2
      .gitattributes

+ 11 - 2
.gitattributes

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