From 484f19c313affc1501b3dec601111a87e9a8f137 Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Mon, 25 Dec 2023 22:52:39 +0100 Subject: [PATCH] Use CRLF in all T4 files (.gitattributes) --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 11c80bd7..5d688492 100644 --- a/.gitattributes +++ b/.gitattributes @@ -29,6 +29,12 @@ *.txt text eol=lf *.yml text eol=lf +# T4 files need CRLF to be processed correctly. When using LF, the T4 +# generator will produce unwanted newlines in the output files. The +# same fix for this is also present in the .editorconfig file. +*.tt text eol=crlf +*.ttinclude text eol=crlf + # Images *.png binary *.jpg binary