This commit is contained in:
lichengjun
2021-07-16 14:32:31 +08:00
45 changed files with 320 additions and 265 deletions
+3 -1
View File
@@ -517,7 +517,8 @@ 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;
@@ -625,6 +626,7 @@ class gitlab
if(count($results) < 100) break;
}
$files = array();
foreach($allResults as $row)
{
$file = new stdclass();