.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
This commit is contained in:
Manlio Perillo 2023-04-24 18:27:46 +02:00
parent 9273fe2dd8
commit cac7391247

8
.gitattributes vendored
View file

@ -4,13 +4,7 @@
# Default behavior, if core.autocrlf is unset. # Default behavior, if core.autocrlf is unset.
* text=auto * 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. # Text files to always have LF (unix) line endings on checkout.
*.py text eol=lf
*.sh text eol=lf *.sh text eol=lf
*.zig text eol=lf *.zig text eol=lf