Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Clem <timothy.clem@gmail.com>2012-03-05 23:20:00 +0400
committernulltoken <emeric.fermas@gmail.com>2012-03-06 15:00:52 +0400
commit4f23c3488f581191d1f4e14fcfa4623298bd6081 (patch)
treeb8621b4518c5801a8ee2fa4b475e17851c34af4f /.gitattributes
parent842e30fcf6922431252f71ddf53504384917ac91 (diff)
Add a .gitattributes so we can have eol sanity
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes44
1 files changed, 33 insertions, 11 deletions
diff --git a/.gitattributes b/.gitattributes
index 02182816..a867c116 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,15 +1,37 @@
-*.sln crlf
-*.csproj crlf
-*.cs crlf diff=csharp
+# Text files that should be normalized to LF in odb.
+*.cs text diff=csharp
+*.config text
-*.md crlf
+*.sln text
+*.csproj text
-*.cmd crlf
-*.msbuild crlf
-*.xml crlf
-*.nuspec crlf
-*.ps1 crlf
+*.md text
+*.sh text
+*.ps1 text
+*.cmd text
+*.bat text
+*.markdown text
+*.msbuild text
-.gitattributes crlf
+Lib/* binary
+GitHub.Tests.Integration/Resources/* binary
-*.sh eol=lf
+
+# Binary files that should not be normalized or diffed
+*.png binary
+*.jpg binary
+*.gif binary
+
+*.pfx binary
+*.snk binary
+*.dll binary
+*.exe binary
+*.lib binary
+*.exp binary
+*.pdb binary
+*.sdf binary
+*.7z binary
+
+
+# Catch all for anything we forgot. Add rules if you get CRLF -> LF warnings.
+* text=auto