summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJulien Phalip <jphalip@gmail.com>2012-11-21 10:19:00 +0100
committerJulien Phalip <jphalip@gmail.com>2012-11-21 10:19:00 +0100
commit978d4476cf1956fe91a2a6b3b5d2157005560c33 (patch)
tree68f2d9795e78db9ce94a2a805255fdfa54c0852f /.gitattributes
parent693b8a65ad9ccb14266c08a3831c8e8537d7d83c (diff)
downloaddjango-978d4476cf1956fe91a2a6b3b5d2157005560c33.tar.gz
Fixed #18920 -- Added `.gitattributes` to normalize line endings in HTML templates and avoid spurious failures in the core test suite on Windows. Many thanks to manfre, Claude Paroz, Karen Tracey, MaxV and Daniel Langer for their advising and testing.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..49cb19117c
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Normalize line endings to avoid spurious failures in the core test suite on Windows.
+*html text eol=lf \ No newline at end of file