From d4b10db998ebeb689b3d27368e30952a42169d03 Mon Sep 17 00:00:00 2001 From: cx384 Date: Sat, 23 Mar 2024 17:56:54 +0100 Subject: [PATCH] Add LF config to .gitattributes --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index 2e62a4e59..06b76c6c8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,5 @@ +# Forces all files which git considers text files to use LF line endings +* text=auto eol=lf + *.cpp diff=cpp *.h diff=cpp