2020-03-06 04:09:02 +03:00
|
|
|
# Set default behavior to automatically normalize line endings.
|
2020-03-06 07:21:20 +03:00
|
|
|
* text=auto
|
2020-03-06 04:09:02 +03:00
|
|
|
|
2020-03-06 07:15:33 +03:00
|
|
|
*.doc binary
|
2020-03-06 07:21:20 +03:00
|
|
|
*.DOC binary
|
|
|
|
*.docx binary
|
|
|
|
*.DOCX binary
|
|
|
|
*.dot binary
|
|
|
|
*.DOT binary
|
|
|
|
*.pdf binary
|
|
|
|
*.PDF binary
|
|
|
|
*.rtf binary
|
|
|
|
*.RTF binary
|
2020-03-06 04:09:02 +03:00
|
|
|
|
2020-03-06 07:21:20 +03:00
|
|
|
*.jpg binary
|
|
|
|
*.png binary
|
|
|
|
*.gif binary
|
2020-03-06 04:09:02 +03:00
|
|
|
|
|
|
|
# Force bash scripts to always use lf line endings so that if a repo is accessed
|
|
|
|
# in Unix via a file share from Windows, the scripts will work.
|
2020-03-06 07:21:20 +03:00
|
|
|
*.in text eol=lf
|
|
|
|
*.sh text eol=lf
|
2020-03-06 04:09:02 +03:00
|
|
|
|
|
|
|
# Likewise, force cmd and batch scripts to always use crlf
|
2020-03-06 07:21:20 +03:00
|
|
|
*.cmd text eol=crlf
|
|
|
|
*.bat text eol=crlf
|
2020-03-06 04:09:02 +03:00
|
|
|
|
2020-03-06 07:21:20 +03:00
|
|
|
*.cs text=auto diff=csharp
|
|
|
|
*.vb text=auto
|
|
|
|
*.resx text=auto
|
|
|
|
*.c text=auto
|
|
|
|
*.cpp text=auto
|
|
|
|
*.cxx text=auto
|
|
|
|
*.h text=auto
|
|
|
|
*.hxx text=auto
|
|
|
|
*.py text=auto
|
|
|
|
*.rb text=auto
|
|
|
|
*.java text=auto
|
|
|
|
*.html text=auto
|
|
|
|
*.htm text=auto
|
|
|
|
*.css text=auto
|
|
|
|
*.scss text=auto
|
|
|
|
*.sass text=auto
|
|
|
|
*.less text=auto
|
|
|
|
*.js text=auto
|
|
|
|
*.lisp text=auto
|
|
|
|
*.clj text=auto
|
|
|
|
*.sql text=auto
|
|
|
|
*.php text=auto
|
|
|
|
*.lua text=auto
|
|
|
|
*.m text=auto
|
|
|
|
*.asm text=auto
|
|
|
|
*.erl text=auto
|
|
|
|
*.fs text=auto
|
|
|
|
*.fsx text=auto
|
|
|
|
*.hs text=auto
|
2020-03-06 04:09:02 +03:00
|
|
|
|
2020-03-06 07:21:20 +03:00
|
|
|
*.csproj text=auto
|
|
|
|
*.vbproj text=auto
|
|
|
|
*.fsproj text=auto
|
|
|
|
*.dbproj text=auto
|
|
|
|
*.sln text=auto eol=crlf
|
2020-03-06 04:09:02 +03:00
|
|
|
|
|
|
|
# Set linguist language for .h files explicitly based on
|
|
|
|
# https://github.com/github/linguist/issues/1626#issuecomment-401442069
|
|
|
|
# this only affects the repo's language statistics
|
2020-03-06 07:15:33 +03:00
|
|
|
*.h linguist-language=C
|