From 1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 30 Aug 2010 11:19:39 -0400 Subject: [PATCH] Add whitespace=tab-in-indent attribute for sources Tell Git 1.7.2 and later to reject indentation with TABs. --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 878221f9b..43676a97f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,3 +12,9 @@ configure crlf=input *.dsw -crlf *.sln -crlf *.vcproj -crlf + +*.c whitespace=tab-in-indent +*.h whitespace=tab-in-indent +*.cxx whitespace=tab-in-indent +*.txt whitespace=tab-in-indent +*.cmake whitespace=tab-in-indent