diff --git a/SparkleLib/Git/SparkleFetcherGit.cs b/SparkleLib/Git/SparkleFetcherGit.cs index 6acec0c9..fe8f85d6 100755 --- a/SparkleLib/Git/SparkleFetcherGit.cs +++ b/SparkleLib/Git/SparkleFetcherGit.cs @@ -117,8 +117,12 @@ namespace SparkleLib.Git { else // "Compressing objects" stage number = (number / 100 * 20); + + } else { + SparkleHelpers.DebugInfo ("Fetcher", line); } - + + if (number >= percentage) { percentage = number; diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index a1744ed5..73aebe82 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -238,8 +238,12 @@ namespace SparkleLib.Git { speed = speed.Replace ("MB/s", "ᴍʙ/s"); } } + + } else { + SparkleHelpers.DebugInfo ("Git", "[" + Name + "] " + line); } + if (number >= percentage) { percentage = number; base.OnProgressChanged (percentage, speed); @@ -295,7 +299,11 @@ namespace SparkleLib.Git { speed = speed.Replace ("MB/s", "ᴍʙ/s"); } } + + } else { + SparkleHelpers.DebugInfo ("Git", "[" + Name + "] " + line); } + if (number >= percentage) { percentage = number; @@ -714,8 +722,9 @@ namespace SparkleLib.Git { { try { foreach (string child_path in Directory.GetDirectories (path)) { - if (child_path.EndsWith (".git") && - !child_path.Equals (Path.Combine (LocalPath, ".git"))) { + if (child_path.EndsWith (".git")) { + if (child_path.Equals (Path.Combine (LocalPath, ".git"))) + continue; string HEAD_file_path = Path.Combine (child_path, "HEAD"); @@ -725,9 +734,6 @@ namespace SparkleLib.Git { } continue; - - } else if (child_path.EndsWith (".git")) { - continue; } PrepareDirectories (child_path);