Restore pagination in commit history (#3957)

This commit is contained in:
Naoki Takezoe
2026-02-08 22:31:18 +09:00
committed by GitHub
parent 6dce8672ab
commit 379c86ba9d

View File

@@ -631,7 +631,7 @@ object JGitUtil {
count: Int,
logs: List[CommitInfo]
): (List[CommitInfo], Boolean) =
if (i.hasNext) {
if (i.hasNext && limit <= 0 || logs.size < limit) {
val commit = i.next
getCommitLog(
i,