repo git: empty logs make me sad. always show something when no changes this month
This commit is contained in:
parent
a2b2750c9f
commit
d093894b2c
|
@ -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> ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue