From 23dfe8baa05c9caf8910964bc59a7d2062905dae Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 3 Jun 2016 13:24:32 +0100 Subject: Disable auto-CRLF conversion on git checkout. If someone cloned the repository on Windows with their default git settings, then ran vagrant up, it failed because the shell files now had CRLF line endings. Rather than try and exempt the appropriate files, let's just stop git trying to do anything clever at all. --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..bfc70fec1 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Disable the auto-CRLF normalization mess for all files to prevent +# them being checked out with CRLF line endings (on Windows), which +# breaks if they e.g. run vagrant up. + +* -text -- cgit v1.2.3