Build: Ensure all *.patch files use Unix style.
- Git patch files are text files
- The line endings of the patches follow the Unix style, using LF (Line Feed).
Signed-off-by: Anton Komlev <anton.komlev@arm.com>
Change-Id: Icd5422931fb1f01b3919f2e5d7f43acb874a71bc
diff --git a/.gitattributes b/.gitattributes
index 7c00131..16fbe5b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,5 +1,9 @@
* text=auto
+# Explicitly declare text files to make sure possible local wrong config
+# of git does not override them on checkout
+*.patch text eol=lf
+
# Binary files that should not be normalized
*.pdf binary
*.png binary