repo git: strip quotes from git commit message

This commit is contained in:
Hylke Bons 2011-06-10 21:40:13 +01:00
parent 944a9c4a46
commit f3aca9da0a

View file

@ -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 ();
}