0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

Increment skip to avoid infini-loop (#13703)

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
John Olheiser 2020-11-27 14:00:52 -06:00 committed by GitHub
parent 7bc0c8cff6
commit 979fbe086c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -610,7 +610,7 @@ func GetCommitMessages(pr *models.PullRequest) string {
} }
element = element.Next() element = element.Next()
} }
skip += limit
} }
} }