...
This commit is contained in:
parent
e2da8ede57
commit
8d19596f8d
|
@ -371,15 +371,14 @@ namespace SparkleLib {
|
||||||
|
|
||||||
|
|
||||||
// Returns a list of the latest change sets
|
// Returns a list of the latest change sets
|
||||||
public override List <SparkleChangeSet> GetChangeSets (int since_days_ago)
|
public override List <SparkleChangeSet> GetChangeSets (int count)
|
||||||
{
|
{
|
||||||
if (since_days_ago < 1)
|
if (count < 1)
|
||||||
since_days_ago = 7;
|
count = 30;
|
||||||
|
|
||||||
List <SparkleChangeSet> change_sets = new List <SparkleChangeSet> ();
|
List <SparkleChangeSet> change_sets = new List <SparkleChangeSet> ();
|
||||||
|
|
||||||
SparkleGit git_log = new SparkleGit (LocalPath, "log --since=\"" + since_days_ago +
|
SparkleGit git_log = new SparkleGit (LocalPath, "log -" + count + " --raw -M --date=iso");
|
||||||
" days ago\" --raw -M --date=iso");
|
|
||||||
Console.OutputEncoding = System.Text.Encoding.Unicode;
|
Console.OutputEncoding = System.Text.Encoding.Unicode;
|
||||||
git_log.Start ();
|
git_log.Start ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue