@ -296,10 +296,12 @@ class GiteaRepository extends BaseRepositoryImpl {
continue;
GiteaTaskImpl mapped = new GiteaTaskImpl(this, raw);
result.add(mapped);
if (limit > -1) {
limit--;
if (limit < 1)
return false;
}
return true;