summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-08-30 11:19:39 -0400
committerBrad King <brad.king@kitware.com>2010-08-30 11:19:39 -0400
commit1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0 (patch)
tree0a50a5124423ec32d5c762d7cc6e06ba7c35f7ec /.gitattributes
parentaac1680648634a87dd4eee3ae603aef387798244 (diff)
downloadcmake-1cbc53f022ba4a37fa2c633bd1e8cb856ae6fff0.tar.gz
Add whitespace=tab-in-indent attribute for sources
Tell Git 1.7.2 and later to reject indentation with TABs.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 878221f9b9..43676a97f1 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