1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-10-22 02:07:56 +00:00

Add .gitattributes (#310)

This makes life much easier when working on Windows.
And makes sure all of the codes are committed with LF as EOL char.
This commit is contained in:
Kfir Hadas 2017-07-26 18:57:46 +03:00 committed by GitHub
parent dc627bf398
commit 1fa3e6ae46

36
.gitattributes vendored Normal file
View file

@ -0,0 +1,36 @@
#
# Makes sure all files detected as text have LF as the EOL character,
# and leaves all files detected as binary untouched.
#
* text=auto eol=lf
#
# Text files
#
# Example
# *.ext text
#
# Binary files (binary is a macro for -text -diff)
#
# Minified web files
*.min.css binary
*.min.js binary
# Images
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
# Fonts
*.svg binary
*.ttf binary
*.woff binary
*.woff2 binary
*.eot binary
*.otf binary