From d427718ad4b8a85f0f6531f75d9c7aa1ad31906c Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Mon, 5 Aug 2019 14:17:36 +0200
Subject: [PATCH] [git] Set automatic line endings on all files.

Ensures native file endings on all platforms.

Should fix an issue where the GocadTSurface_Mesh_Test failed
on Windows as the reader cannot read .ts files on Windows
with Linux line endings.
---
 .gitattributes | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitattributes b/.gitattributes
index 1e01e048463..a844bf22834 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,6 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
 # Enable style checks on source files
 *.h   hooks.style=uncrustify
 *.cpp hooks.style=uncrustify
-- 
GitLab