Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhil Nash2013-10-18 07:53:05 +0100
committerPhil Nash2013-10-18 07:53:05 +0100
commitfaafa249ad30715c82c30230b49f04af03c50eea (patch)
tree7c757cbb6922cbe19d0667f288b78be2cffc265d
parentf4959e769952b5011f4d9af8aad2318e1f52b1fb (diff)
downloadcatch3-faafa249ad30715c82c30230b49f04af03c50eea.tar.gz
Git Attributes, with control for line-endings
-rw-r--r--.gitattributes11
1 files changed, 11 insertions, 0 deletions
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