[11393] add whitespace rules to .gitattributes

Signed-off-by: DasBlub <DasBlub@gmail.com>
This commit is contained in:
Schmoozerd 2011-04-24 22:55:29 +02:00 committed by DasBlub
parent 119d7d9f48
commit 25fc13f64c
2 changed files with 14 additions and 1 deletions

13
.gitattributes vendored
View file

@ -1,3 +1,16 @@
# Lineendings
*.sln eol=crlf
*.vcproj eol=crlf
*.vcxproj* eol=crlf
# Whitespace rules
# strict (no trailing, no tabs)
*.cpp whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol
*.h whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol
# normal (no trailing)
*.sql whitespace=trailing-space,space-before-tab,cr-at-eol
*.txt whitespace=trailing-space,space-before-tab,cr-at-eol
# special files which must ignore whitespace
*.patch whitespace=-trailing-space

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11392"
#define REVISION_NR "11393"
#endif // __REVISION_NR_H__