Revert "log: get commits from the last week, instead of the last X commits"
This reverts commit fba5162e4e
.
This commit is contained in:
parent
adc4c483c3
commit
e2da8ede57
|
@ -180,7 +180,7 @@ namespace SparkleLib {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public virtual List<SparkleChangeSet> GetChangeSets (int since_days_ago) {
|
public virtual List<SparkleChangeSet> GetChangeSets (int count) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -280,10 +280,11 @@ 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 (7);
|
return repo.GetChangeSets (log_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue