summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-21 12:56:05 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-21 12:56:05 +0200
commit9564e5d7d5de60ee952e11cffba8f049d84648e4 (patch)
treec743a40ad7fbecd771d1972577a96c8cb1acb986 /.gitattributes
parentfixed Alldebrid (diff)
downloadpyload-9564e5d7d5de60ee952e11cffba8f049d84648e4.tar.xz
Improved .gitattributes
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 176a458f9..e34533a0d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,21 @@
+# 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.
+*.py text
+*.js text
+*.po text
+*.cfg text
+*.md text
+*.in text
+*.txt text
+*.sh text
+*.json text
+*.html text
+.htm text
+
+# Denote all files that are truly binary and should not be modified.
+*.png binary
+*.jpg binary
+*.mo binary \ No newline at end of file