Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Git Attributes, with control for line-endings

Commit
faafa249ad30715c82c30230b49f04af03c50eea
Author
Phil Nash ·
Parents
f4959e769952

Files · Download .tar.gz

Changes

 .gitattributes | 11 +++++++++++
 1 file changed, 11 insertions(+)

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