From 4dffdb20e2b87fa322f2f60bb200553ef0c085b4 Mon Sep 17 00:00:00 2001 From: Daniel Richard G Date: Wed, 13 Nov 2013 02:44:20 -0500 Subject: [PATCH] Added a .gitattributes file This will allow checkouts of the SolveSpace source tree on Unix and Windows to use the system's native line endings (i.e. LF vs. CRLF), while keeping Unix line endings in the repository. Created using the template at https://help.github.com/articles/dealing-with-line-endings --- .gitattributes | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..7c97503a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# .gitattributes for SolveSpace + +# Set default behaviour, in case users don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files we want to always be normalized and converted +# to native line endings on checkout. +*.cpp text +*.h text +*.txt text + +# 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. +*.gz binary +*.ico binary +*.jpg binary +*.lib binary +*.png binary + +# end .gitattributes