diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index 9671861a..9747549f 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -371,15 +371,14 @@ namespace SparkleLib { // Returns a list of the latest change sets - public override List GetChangeSets (int since_days_ago) + public override List GetChangeSets (int count) { - if (since_days_ago < 1) - since_days_ago = 7; + if (count < 1) + count = 30; List change_sets = new List (); - SparkleGit git_log = new SparkleGit (LocalPath, "log --since=\"" + since_days_ago + - " days ago\" --raw -M --date=iso"); + SparkleGit git_log = new SparkleGit (LocalPath, "log -" + count + " --raw -M --date=iso"); Console.OutputEncoding = System.Text.Encoding.Unicode; git_log.Start ();