diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index 0df0877c..382f6f21 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -198,7 +198,7 @@ namespace SparkleLib { if (!AnyDifferences) return; - SparkleGit git = new SparkleGit (LocalPath, "commit -m '" + message + "'"); + SparkleGit git = new SparkleGit (LocalPath, "commit -m \"" + message + "\""); git.Start (); git.WaitForExit (); @@ -530,6 +530,7 @@ namespace SparkleLib { return message + "..." + n; } + message = message.Replace ("\"", ""); return message.TrimEnd (); }