repo git: empty logs make me sad. always show something when no changes this month

This commit is contained in:
Hylke Bons 2013-01-11 19:38:49 +01:00
parent e96af63817
commit afd7b76866

View file

@ -731,6 +731,13 @@ namespace SparkleLib.Git {
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 ());
List<string> entries = new List <string> ();