-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .gitattributes to prevent CRLF issues
- Loading branch information
Showing
1 changed file
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
# Lineendings | ||
*.sln eol=crlf | ||
*.vcproj eol=crlf | ||
*.vcxproj* eol=crlf | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
|
||
# 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 | ||
*.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 | ||
*.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 eol=lf | ||
*.diff whitespace=-trailing-space eol=lf | ||
*.patch whitespace=-trailing-space eol=lf | ||
*.diff whitespace=-trailing-space eol=lf | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain | ||
|
||
# Ignore sql/* files | ||
sql/* linguist-documentation | ||
sql/* linguist-documentation |