Browse Source

.gitattributes: remove support for old files, add python

Remove support for old .h, .cpp and .bat files.

Set eol mode to lf for Python scripts.

Closes #252
Manlio Perillo 2 years ago
parent
commit
cac7391247
1 changed files with 1 additions and 7 deletions
  1. 1 7
      .gitattributes

+ 1 - 7
.gitattributes

@@ -4,13 +4,7 @@
 # Default behavior, if core.autocrlf is unset.
 * text=auto
 
-# Files to be converted to native line endings on checkout.
-*.cpp text
-*.h text
-
-# Text files to always have CRLF (dos) line endings on checkout.
-*.bat text eol=crlf
-
 # Text files to always have LF (unix) line endings on checkout.
+*.py text eol=lf
 *.sh text eol=lf
 *.zig text eol=lf