repo git: empty logs make me sad. always show something when no changes this month
This commit is contained in:
parent
e96af63817
commit
afd7b76866
|
@ -731,6 +731,13 @@ namespace SparkleLib.Git {
|
||||||
|
|
||||||
string output = git.StartAndReadStandardOutput ();
|
string output = git.StartAndReadStandardOutput ();
|
||||||
|
|
||||||
|
if (path == null && string.IsNullOrWhiteSpace (output)) {
|
||||||
|
git = new SparkleGit (LocalPath, "log -n 75 --raw --find-renames --date=iso " +
|
||||||
|
"--format=medium --no-color --no-merges");
|
||||||
|
|
||||||
|
output = git.StartAndReadStandardOutput ();
|
||||||
|
}
|
||||||
|
|
||||||
string [] lines = output.Split ("\n".ToCharArray ());
|
string [] lines = output.Split ("\n".ToCharArray ());
|
||||||
List<string> entries = new List <string> ();
|
List<string> entries = new List <string> ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue