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.
This commit is contained in:
DRC
2020-11-24 18:51:16 -06:00
parent 6d2e8837b4
commit 1c839761cf

1
.gitattributes vendored
View File

@@ -3,3 +3,4 @@
/ci export-ignore
/.gitattributes export-ignore
/.github export-ignore
*.ppm binary