summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-04-15 19:47:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-04-15 19:47:16 +0000
commita19eddc34b6e8db043dbf6180c90e9bbe531dc03 (patch)
treec1a7236f0695eb15e345486c8c85a1889b661ce8 /.gitattributes
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes24
1 files changed, 24 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000000..9eb12c0ef62e
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,24 @@
+# Set the default behavior
+* text eol=lf
+
+# Explicitly declare source files
+*.c text eol=lf
+*.h text eol=lf
+
+# Denote files that should not be modified.
+*.odt binary
+*.png binary
+
+# Visual Studio
+*.sln text eol=crlf
+*.vcxproj* text eol=crlf
+*.vcproj* text eol=crlf
+*.suo binary
+*.rc text eol=crlf
+
+# Windows
+*.bat text eol=crlf
+*.cmd text eol=crlf
+
+# .travis.yml merging
+.travis.yml merge=ours