From c906ffb68c2e36d13dd02c81fe2d039a6a87271d Mon Sep 17 00:00:00 2001 From: Luke Horsley Date: Wed, 29 Mar 2017 23:41:12 +0100 Subject: [PATCH] Added a .gitattributes to configure how files are handled in git. This is required for the integration tests in particular to ensure the line endings of the uncompressed files are not normalized. --- .gitattributes | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..2c09fb782 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,20 @@ +# automatically handle text files +* text=auto + +# text files +*.md text +*.txt text + +# source code files +*.rs text +*.c text + +# configuration files +*.yml text +*.toml text + +# compressed files +*.gz binary + +# no end-of-line normalization should take place for integration test text files +tests/*.txt -text