From 782a30d9797bbd08dcd14ef5ac8465cee828b002 Mon Sep 17 00:00:00 2001 From: Jerome Lacoste Date: Fri, 10 Nov 2017 10:46:36 +0100 Subject: [PATCH] Force gitignore to have Unix EOL --- Assets/Plugins/Editor/Uplift/SourceControl/GitIgnorer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Plugins/Editor/Uplift/SourceControl/GitIgnorer.cs b/Assets/Plugins/Editor/Uplift/SourceControl/GitIgnorer.cs index 7095d237..9517dd5e 100644 --- a/Assets/Plugins/Editor/Uplift/SourceControl/GitIgnorer.cs +++ b/Assets/Plugins/Editor/Uplift/SourceControl/GitIgnorer.cs @@ -90,6 +90,7 @@ private void Ignore(string path) using(StreamWriter sw = new StreamWriter(gitIgnorePath, false)) { + sw.NewLine = "\n"; foreach(string line in userLines[0]) sw.WriteLine(line); sw.WriteLine(ignoreTemplateHeader);