From 6d782901313d33203ea4b2121ed0e48d0160b43f Mon Sep 17 00:00:00 2001 From: Alam Ed Arias <alam@srb2.org> Date: Fri, 20 Sep 2019 12:32:18 -0400 Subject: [PATCH] avoid the source code from getting the wrong EOL --- .gitattributes | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitattributes b/.gitattributes index d45620912e..7751149ac0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,12 @@ +#Source code +/src/*.c text=auto +/src/*.h text=auto +/src/*.s text=auto +/src/*.m text=auto +/src/*.xpm text=auto +/src/Makefile text=auto +/src/Make*.cfg text=auto +/src/CMakeLists.txt text=auto # Windows EOL *.cs -crlf -whitespace *.mk -crlf -whitespace -- GitLab