From c0c72c6b91e5b071c05c64ebfa4808c79bec2a33 Mon Sep 17 00:00:00 2001 From: Jelle Raaijmakers Date: Wed, 12 Jan 2022 00:25:32 +0100 Subject: [PATCH] Repository: Protect port patches from CRLF/LF normalization This allows source files with CRLF line endings to be patched. --- .gitattributes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitattributes b/.gitattributes index 07cff8b95e8..2a27378b1c4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -10,3 +10,6 @@ *.pgm binary *.png binary *.ppm binary + +# Prevent port patches from being normalized +/Ports/**/patches/* -text