Skip to content

Commit

Permalink
[11393] add whitespace rules to .gitattributes
Browse files Browse the repository at this point in the history
Signed-off-by: DasBlub <DasBlub@gmail.com>
  • Loading branch information
Schmoozerd authored and DasBlub committed Apr 24, 2011
1 parent f373dd6 commit 57a6b30
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .gitattributes
@@ -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
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11392"
#define REVISION_NR "11393"
#endif // __REVISION_NR_H__

0 comments on commit 57a6b30

Please sign in to comment.