aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2014-04-04 11:38:15 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2014-04-04 15:16:45 +0200
commitf9ede07be22fd917e7030d0ca7a1dc153e075dc8 (patch)
tree2259a56a7c80dd77679cc8ad86362f25bfa65201 /.gitattributes
parent6b879147585c873c88c175fef93e24dfbe8af519 (diff)
downloadjquery-f9ede07be22fd917e7030d0ca7a1dc153e075dc8.tar.gz
jquery-f9ede07be22fd917e7030d0ca7a1dc153e075dc8.zip
Build: change .gitattributes; use system line ends for non-JS files
(cherry-picked from 99d735ab4662f45c3b65ea1200fa0d3e2b671111)
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes
index d6dc47053..b7ca95b5b 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,5 @@
-* eol=lf
-*.jar binary
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# JS files must always use LF for tools to work
+*.js eol=lf