Browse Source

Add whitespace=tab-in-indent attribute for sources

Tell Git 1.7.2 and later to reject indentation with TABs.
Brad King 15 years ago
parent
commit
1cbc53f022
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .gitattributes

+ 6 - 0
.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