summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-30 15:19:39 (GMT)
committerBrad King <brad.king@kitware.com>2010-08-30 15:19:39 (GMT)
commit1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0 (patch)
tree0a50a5124423ec32d5c762d7cc6e06ba7c35f7ec
parentaac1680648634a87dd4eee3ae603aef387798244 (diff)
downloadCMake-1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0.zip
CMake-1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0.tar.gz
CMake-1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0.tar.bz2
Add whitespace=tab-in-indent attribute for sources
Tell Git 1.7.2 and later to reject indentation with TABs.
-rw-r--r--.gitattributes6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 878221f..43676a9 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