* fix save commit bug.

This commit is contained in:
wangyidong
2020-03-04 20:43:03 +08:00
parent 79485845d5
commit 8e2f609b41
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class gitModel extends model
if(strpos($log->msg, $comment) !== false) $this->compile->createByIntegration($integration->id);
}
}
$version = $this->repo->saveOneCommit($repoID, $log, $version);
$version = $this->repo->saveOneCommit($repoID, $log, $version, $branch);
$commits += count($logs);
}
}