From 76f1088ec6374d2d08db1fd87cd11ac0c24f5ac4 Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 2 Mar 2015 16:09:36 -0800 Subject: [PATCH] Vagrant: bash gets confused if you pass in .sh files from windows This change prevents git from adding carriage returns to .sh files --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..6a9a9a039c --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ + +# bash gets confused if you pass in .sh files from windows +# This breaks Vagrant for some users. +*.sh text eol=lf + +