From 0e876025e869b26b0051532beee56de27424ff97 Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Wed, 2 Nov 2022 21:17:07 +0100 Subject: [PATCH] Add .gitattributes to enforce unix line endings --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..9dde9b9763 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Activate line ending normalization, setting eol will make the behavior match core.autocrlf = input +* text=auto eol=lf +# Force batch scripts to always use CRLF line endings +*.{cmd,[cC][mM][dD]} text eol=crlf +*.{bat,[bB][aA][tT]} text eol=crlf