summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-03-02 18:20:08 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-06 02:33:32 -0500
commitdd23bd740f7fc64475e026fbbabec8674401a8b6 (patch)
tree2289c84699125794271b6bbe0829c805edd83398 /.gitattributes
parent31e265c1df948d1bcc82d08affe995fd1d1c1438 (diff)
downloadhaskell-dd23bd740f7fc64475e026fbbabec8674401a8b6.tar.gz
Windows: fix crlf on checkout
Using .gitatttributes, we don't require users to set git's core.autocrlf setting to false on Windows to be able to checkout a working tree.
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 7dc0871423..b3746c6b18 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,4 @@
+# convert CRLF into LF on checkin
+# don't convert anything on checkout
+* text=auto
mk/win32-tarballs.md5sum text=auto eol=LF