diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..966d7e9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Set default behaviour, in case users don't have core.autocrlf set. +* text=lf + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.c text eol=lf +*.h text eol=lf +*.pl text eol=lf +*.pm text eol=lf +*.php text eol=lf +*.t text eol=lf +*.html text eol=lf + +# 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 + +.gitattributes export-ignore +.gitignore export-ignore