File: .gitattributes

package info (click to toggle)
websocketpp 0.8.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 4,368 kB
  • sloc: cpp: 19,570; makefile: 18
file content (18 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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
*.hpp       whitespace=trailing-space,space-before-tab,tab-in-indent,cr-at-eol
*.c         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