repo git: Fix endless loop when adding empty folders. Closes #967
This commit is contained in:
parent
1c156b5e5d
commit
9a7b5b8827
|
@ -880,7 +880,7 @@ namespace SparkleLib.Git {
|
|||
string line = git_status.StandardOutput.ReadLine ();
|
||||
|
||||
if (line.EndsWith (".empty") || line.EndsWith (".empty\""))
|
||||
continue;
|
||||
line = line.Replace (".empty", "");
|
||||
|
||||
if (line.StartsWith ("R")) {
|
||||
string path = line.Substring (3, line.IndexOf (" -> ") - 3).Trim ("\"".ToCharArray ());
|
||||
|
|
Loading…
Reference in a new issue