From 1c839761cfe1f6e9c535200dc6e68d57a1c48ff0 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 24 Nov 2020 18:51:16 -0600 Subject: [PATCH] Force Git to treat testorig.ppm as a binary file Otherwise, because the file begins with an ASCII header, Git will erroneously treat is as an ASCII file, and if Git for Windows is configured with default options (specifically, "Checkout windows-style, commit Unix-style line endings"), it will add carriage return characters to all of the "linefeed" characters in the PPM file, thus corrupting it and causing libjpeg-turbo's regression tests to fail. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 29480385..23fbb88b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3,3 +3,4 @@ /ci export-ignore /.gitattributes export-ignore /.github export-ignore +*.ppm binary