瀏覽代碼

Restrict text files with explicit line feeds to *.go.

This partially reverts b732beba6a919b852539bb344b05e25c6a7c3c90. It
seems like explicitly setting all files to use line feeds was done due
to issues with the go linter, hence it can be restricted to those files
(https://github.com/ollama/ollama/pull/6235#issuecomment-2278745953).
Nicholas Schwab 8 月之前
父節點
當前提交
d4e6407464
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      .gitattributes

+ 2 - 4
.gitattributes

@@ -1,5 +1,3 @@
 llm/ext_server/* linguist-vendored
-* text eol=lf
-*.png binary
-*.ico binary
-*.icns binary
+* text=auto
+*.go text eol=lf