From faafa249ad30715c82c30230b49f04af03c50eea Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 18 Oct 2013 07:53:05 +0100 Subject: [PATCH] Git Attributes, with control for line-endings --- .gitattributes | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a2d66d32 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,11 @@ +# This sets the default behaviour, overriding core.autocrlf +* text=auto + +# All source files should have unix line-endings in the repository, +# but convert to native line-endings on checkout +*.cpp text +*.h text +*.hpp text + +# Windows specific files should retain windows line-endings +*.sln text eol=crlf \ No newline at end of file