log: get commits from the last week, instead of the last X commits
This commit is contained in:
parent
bff9eb0e5c
commit
fba5162e4e
|
@ -180,7 +180,7 @@ namespace SparkleLib {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public virtual List<SparkleChangeSet> GetChangeSets (int count) {
|
public virtual List<SparkleChangeSet> GetChangeSets (int since_days_ago) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -280,11 +280,10 @@ namespace SparkleShare {
|
||||||
return GetLog ();
|
return GetLog ();
|
||||||
|
|
||||||
string path = Path.Combine (SparklePaths.SparklePath, name);
|
string path = Path.Combine (SparklePaths.SparklePath, name);
|
||||||
int log_size = 50;
|
|
||||||
|
|
||||||
foreach (SparkleRepoBase repo in Repositories) {
|
foreach (SparkleRepoBase repo in Repositories) {
|
||||||
if (repo.LocalPath.Equals (path))
|
if (repo.LocalPath.Equals (path))
|
||||||
return repo.GetChangeSets (log_size);
|
return repo.GetChangeSets (7);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue