From 4d173da55ce9abccfd8b4286efba084711261d8d Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Tue, 9 Aug 2011 13:45:52 -0500 Subject: [PATCH] Solution files should always be CRLF. --- .gitattributes | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f4eb9fd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,13 @@ +# NOTE: this file is for git 1.6.6 (and possibly older) +# Post-1.7.2 there is eol and text, and crlf is deprecated +# but we can't depend on an unreleased version... + +# This file mainly controls line ending conversion behaviour, if +# the user has the setting core.autocrlf true. + +# The meaning of the attributes is a little odd +# -crlf means DO NOT convert line endings +# crlf means CONVERT to lf in the repo & Linux/Mac, crlf on Windows + +# sln is always CRLF, even on linux, so don't convert +*.sln -crlf