mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-08-07 01:19:10 +02:00
Restore pagination in commit history (#3957)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user