From: Phil Burk Date: Mon, 30 May 2016 00:10:45 +0000 (-0700) Subject: gitattributes: add EOL attributes for various file types X-Git-Url: http://git.subgeniuskitty.com/pforth/.git/commitdiff_plain/c883f84845455a7170164a40fd91ba5c6b900bc1 gitattributes: add EOL attributes for various file types --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..cb0e2ef --- /dev/null +++ b/.gitattributes @@ -0,0 +1,31 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text +*.cpp text +*.hpp text +*.fth text +*.f text +*.txt text +*.m text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf +*.dsp text eol=crlf +*.dsw text eol=crlf +*.vcproj text eol=crlf +*.sln text eol=crlf +*.sln text eol=crlf +*.doc text eol=crlf +*.bat text eol=crlf + +# Denote all files that are truly binary and should not be modified. +*.dic binary +*.odt binary +*.pdf binary +*.png binary +*.jpg binary +*.wav binary