summaryrefslogtreecommitdiff
path: root/.gitattributes
blob: a59c7386af2147785227e2cf1c2ab478424b0daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto

# Declare files that will always have CRLF line endings on checkout.
*.appxmanifest text eol=crlf
*.c            text eol=crlf
*.cpp          text eol=crlf
*.cs           text eol=crlf
*.csproj       text eol=crlf
*.css          text eol=crlf
*.def          text eol=crlf
*.filters      text eol=crlf
*.h            text eol=crlf
*.htm          text eol=crlf
*.html         text eol=crlf
*.idl          text eol=crlf
*.js           text eol=crlf
*.jsproj       text eol=crlf
*.rc           text eol=crlf
*.rgs          text eol=crlf
*.sln          text eol=crlf
*.vcxproj      text eol=crlf
*.xaml         text eol=crlf

# Declare files that are encoded in UTF-16
*.inf          text diff working-tree-encoding=UTF-16LE-BOM eol=crlf
*.inx          text diff working-tree-encoding=UTF-16LE-BOM eol=crlf

###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
*.cs     diff=csharp