summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorAleksandar Kanchev <kanchev@itestra.com>2013-02-13 12:59:13 +0100
committerAleksandar Kanchev <kanchev@itestra.com>2013-02-13 12:59:13 +0100
commite968ffd5f7640320e941e9cb94367636d73b19a1 (patch)
tree19cae67e16b8d3551726ca2d234283e0255aab6e /.gitattributes
parent1950bb5c36be1268a0c265fb495b0a535db9e96a (diff)
downloadgenivi-common-api-dbus-runtime-e968ffd5f7640320e941e9cb94367636d73b19a1.tar.gz
add gitattributes and proper crlf handling
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes43
1 files changed, 43 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..4f3cc44
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,43 @@
+# 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.
+*.am text
+*.ac text
+*.m4 text
+*.in text
+
+*.c text
+*.cpp text
+*.h text
+*.hpp text
+
+*.fidl text
+*.java text
+*.xtend text
+
+*.html text
+*.xml text
+
+*.properties text
+
+*.patch text
+
+AUTHORS text
+LICENSE* text
+README text
+
+# Eclipse
+.autotools text
+.cproject text
+.project text
+org.eclipse.core.resources.prefs text
+*.MF text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.sln text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary