Эх сурвалжийг харах

fix: binary file line endings

Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
Alano Terblanche 8 сар өмнө
parent
commit
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