mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[11393] add whitespace rules to .gitattributes
Signed-off-by: DasBlub <DasBlub@gmail.com>
This commit is contained in:
parent
119d7d9f48
commit
25fc13f64c
2 changed files with 14 additions and 1 deletions
13
.gitattributes
vendored
13
.gitattributes
vendored
|
|
@ -1,3 +1,16 @@
|
||||||
|
# Lineendings
|
||||||
*.sln eol=crlf
|
*.sln eol=crlf
|
||||||
*.vcproj eol=crlf
|
*.vcproj eol=crlf
|
||||||
*.vcxproj* 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
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11392"
|
#define REVISION_NR "11393"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue