git: fix crash when committing renames with spaces. closes #1267
This commit is contained in:
parent
329fe4885f
commit
9cf5f544a8
|
@ -1015,6 +1015,7 @@ namespace SparkleLib.Git {
|
|||
|
||||
while (!git_status.StandardOutput.EndOfStream) {
|
||||
string line = git_status.StandardOutput.ReadLine ();
|
||||
line = line.Trim ();
|
||||
|
||||
if (line.EndsWith (".empty") || line.EndsWith (".empty\""))
|
||||
line = line.Replace (".empty", "");
|
||||
|
|
Loading…
Reference in a new issue