aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorMarkus Helm <markus.m.helm@live.de>2014-07-16 16:22:15 +0200
committerMarkus Helm <markus.m.helm@live.de>2014-07-17 20:36:16 +0200
commit5480adba3e14efc6bc13492baa449c1e5cad0fe3 (patch)
tree41c8918b8f7e6c1efc465a5c44b73559703cd9e9 /.gitattributes
parent30564c80e7d3a835d155fbdc250d83bbd7dbb649 (diff)
downloadzxing-5480adba3e14efc6bc13492baa449c1e5cad0fe3.tar.gz
Added .gitattributes to define how git handles the line endings
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..baf799183
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,13 @@
+# Set the default behavior, in case people don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.java text
+
+# Declare files that will always have LF line endings on checkout.
+*.txt text eol=lf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary \ No newline at end of file