From 3c96919ac2f3af4a7d13feedae31a0493a00beb0 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 11 Feb 2016 15:11:04 +0100 Subject: fix windows vagrant line ending issue where executing a mounted script in vagrant fails due to a '^M' special char at the end of each line see https://github.com/pixelated/pixelated-user-agent/issues/600#issuecomment-182306301 --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index 0a91f751..cd04658a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ +# https://help.github.com/articles/dealing-with-line-endings/ +# fix windows issue where executing a mounted script +# in vagrant fails due to a '^M' special char at the end of each line +# see https://github.com/pixelated/pixelated-user-agent/issues/600#issuecomment-182306301 +install-pixelated.sh text eol=lf + # Automatically normalize line endings for all text-based files * text=auto -- cgit v1.2.3