diff --git a/.gitattributes b/.gitattributes index a8763f8e..f9b559c4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,25 @@ -* text=auto +# Set the default behavior, in case people don't have core.autocrlf set. +* text eol=lf + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary +*.gif binary +*.otf binary +*.eot binary +*.svg binary +*.ttf binary +*.woff binary +*.woff2 binary + *.css linguist-vendored *.scss linguist-vendored +*.js linguist-vendored \ No newline at end of file