* finish task #40291.

This commit is contained in:
wangyidong
2021-07-16 11:20:23 +08:00
parent 22abf816b9
commit 2017a9cc78

View File

@@ -517,7 +517,7 @@ class gitlab
if(!scm::checkRevision($version)) return array();
$api = "commits";
if(empty($count)) $count = 1;
if(empty($count)) $count = 100;
$params = array();
$params['ref_name'] = $branch;
$params['per_page'] = $count;
@@ -624,6 +624,7 @@ class gitlab
if(count($results) < 100) break;
}
$files = array();
foreach($allResults as $row)
{
$file = new stdclass();