Skip to content

Commit

Permalink
Add whitespace=tab-in-indent attribute for sources
Browse files Browse the repository at this point in the history
This tells git 1.7.2 and later to reject indentation with TABs
Copied from this commit: robotology/yarp@fa3e8d3
  • Loading branch information
Tobias-Fischer committed Oct 12, 2015
1 parent 4bf40f0 commit 33526c4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitattributes
Expand Up @@ -7,3 +7,18 @@
.gitattributes export-ignore
.gitignore export-ignore
.mailmap export-ignore

*.c whitespace=tab-in-indent
*.h whitespace=tab-in-indent
*.cpp whitespace=tab-in-indent
*.hpp whitespace=tab-in-indent
*.cc whitespace=tab-in-indent
*.txt whitespace=tab-in-indent
*.cmake whitespace=tab-in-indent
*.qml whitespace=tab-in-indent
*.inl whitespace=tab-in-indent
*.dox whitespace=tab-in-indent
*.xml whitespace=tab-in-indent
*.inl whitespace=tab-in-indent
*.thrift whitespace=tab-in-indent
*.msg whitespace=tab-in-indent

0 comments on commit 33526c4

Please sign in to comment.