浏览代码

Tell Git to always treat Makefile and build_odin.sh as Nix EOL

Jeroen van Rijn 1 年之前
父节点
当前提交
9591eb2ed5
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      .gitattributes

+ 5 - 1
.gitattributes

@@ -1,2 +1,6 @@
 *.odin linguist-language=Odin
-* text=auto
+* text=auto
+
+# These files must always have *nix line-endings
+Makefile text eol=lf
+*.sh text eol=lf