From c883f84845455a7170164a40fd91ba5c6b900bc1 Mon Sep 17 00:00:00 2001 From: Phil Burk Date: Sun, 29 May 2016 17:10:45 -0700 Subject: [PATCH] gitattributes: add EOL attributes for various file types --- .gitattributes | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitattributes 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 -- 2.20.1