From b85c2589a1a22fb46620d7b0fd8aa6ec28ac5670 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 23 Aug 2017 13:21:36 -0400 Subject: gitattributes: prefer `-text` for binary files --- .gitattributes | 5 +++-- Tests/Module/ExternalData/.gitattributes | 5 +++++ Tests/Module/ExternalData/MD5/.gitattributes | 1 - Tests/Module/ExternalData/SHA1/.gitattributes | 1 - Tests/Module/ExternalData/SHA224/.gitattributes | 1 - Tests/Module/ExternalData/SHA256/.gitattributes | 1 - Tests/Module/ExternalData/SHA3_256/.gitattributes | 1 - 7 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 Tests/Module/ExternalData/.gitattributes delete mode 100644 Tests/Module/ExternalData/MD5/.gitattributes delete mode 100644 Tests/Module/ExternalData/SHA1/.gitattributes delete mode 100644 Tests/Module/ExternalData/SHA224/.gitattributes delete mode 100644 Tests/Module/ExternalData/SHA256/.gitattributes delete mode 100644 Tests/Module/ExternalData/SHA3_256/.gitattributes diff --git a/.gitattributes b/.gitattributes index e43ccbb..14aa49e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,11 +16,12 @@ configure crlf=input *.bat -crlf *.bat.in -crlf -*.pfx -crlf -*.png -crlf *.sln -crlf *.vcproj -crlf +*.pfx -text +*.png -text + *.c our-c-style *.cc our-c-style *.cpp our-c-style diff --git a/Tests/Module/ExternalData/.gitattributes b/Tests/Module/ExternalData/.gitattributes new file mode 100644 index 0000000..516129b --- /dev/null +++ b/Tests/Module/ExternalData/.gitattributes @@ -0,0 +1,5 @@ +MD5/* -text +SHA1/* -text +SHA224/* -text +SHA256/* -text +SHA3_256/* -text diff --git a/Tests/Module/ExternalData/MD5/.gitattributes b/Tests/Module/ExternalData/MD5/.gitattributes deleted file mode 100644 index 3e51d39..0000000 --- a/Tests/Module/ExternalData/MD5/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* -crlf diff --git a/Tests/Module/ExternalData/SHA1/.gitattributes b/Tests/Module/ExternalData/SHA1/.gitattributes deleted file mode 100644 index 3e51d39..0000000 --- a/Tests/Module/ExternalData/SHA1/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* -crlf diff --git a/Tests/Module/ExternalData/SHA224/.gitattributes b/Tests/Module/ExternalData/SHA224/.gitattributes deleted file mode 100644 index 3e51d39..0000000 --- a/Tests/Module/ExternalData/SHA224/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* -crlf diff --git a/Tests/Module/ExternalData/SHA256/.gitattributes b/Tests/Module/ExternalData/SHA256/.gitattributes deleted file mode 100644 index 3e51d39..0000000 --- a/Tests/Module/ExternalData/SHA256/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* -crlf diff --git a/Tests/Module/ExternalData/SHA3_256/.gitattributes b/Tests/Module/ExternalData/SHA3_256/.gitattributes deleted file mode 100644 index 3e51d39..0000000 --- a/Tests/Module/ExternalData/SHA3_256/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* -crlf -- cgit v0.12