summary refs log tree commit diff
path: root/.gitattributes
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2013-06-28 08:45:52 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2013-06-28 08:45:52 +0700
commit823245c0b2f2156b2c8ce5c7292cbe845a47de59 (patch)
tree7c2956e537f69e93b2f234436b627cd7c88c7402 /.gitattributes
downloadBouncyCastle.NET-ed25519-823245c0b2f2156b2c8ce5c7292cbe845a47de59.tar.xz
Set up text/binary handling for existing file types
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes37
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..ba5445104
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,37 @@
+# Set default behaviour, in case users don't have core.autocrlf set.
+*          text=auto
+
+# Explicitly declare text files we want to always be normalized and converted 
+# to native line endings on checkout.
+*.build    text diff=xml
+*.cs       text diff=csharp
+*.csproj   text diff=xml
+*.eml      text
+*.html     text diff=html
+*.mdp      text diff=xml
+*.mds      text diff=xml
+*.nunit    text diff=xml
+*.pem      text
+*.README   text
+*.sln      text
+*.txt      text
+*.xml      text diff=xml
+
+# Denote all files that are truly binary and should not be modified.
+*.bin      binary
+*.cer      binary
+*.crl      binary
+*.crt      binary
+*.data     binary
+*.dsa      binary
+*.jpg      binary
+*.jpeg     binary
+*.key      binary
+*.p12      binary
+*.p7m      binary
+*.png      binary
+*.pri      binary
+*.pub      binary
+*.rsa      binary
+*.sec      binary
+*.sig      binary