From fb8e3c6ad0e39c31afe481411814d98acb53db42 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Wed, 10 Feb 2016 16:59:39 -0500 Subject: [PATCH] Add .gitattributes to check whitespace errors. --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1f9bc28 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +*.cc whitespace=tab-in-indent,no-lf-at-eof,trailing-whitespace +*.h whitespace=tab-in-indent,no-lf-at-eof,trailing-whitespace +*.rst whitespace=tab-in-indent,no-lf-at-eof,trailing-whitespace +*.txt whitespace=tab-in-indent,no-lf-at-eof,trailing-whitespace