summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Wilson <[email protected]>2015-05-15 09:36:49 -0700
committerDave Wilson <[email protected]>2015-05-15 09:36:49 -0700
commit0b386da6a129d0521fa2d425c57fdfc176c445d1 (patch)
tree3a0c9231b5a30d840e789a95067fb7e80636af9d
parent1fbea08887e10e087c3f6bb0be8968e29e20cc84 (diff)
new .gitattribute file
-rw-r--r--.gitattributes37
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..5aec15cd
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,37 @@
+###############################################################################
+# 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
+*.inf text eol=crlf
+*.inx 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
+
+###############################################################################
+# 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
+