summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-11-27 22:55:53 -0600
committerGitHub <noreply@github.com>2020-11-28 04:55:53 +0000
commita82c7d4323b498315e7261b9af7c8a6e7452a537 (patch)
treecdb68478791ca73d5f3d51c1df55774181e8a9aa
parent7ec1c13f53f35d422343185d2ab8cf379e24c14e (diff)
downloadgitea-a82c7d4323b498315e7261b9af7c8a6e7452a537.tar.gz
gitea-a82c7d4323b498315e7261b9af7c8a6e7452a537.zip
Increment skip to avoid infini-loop (#13703) (#13727)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lauris BH <lauris@nix.lv>
-rw-r--r--services/pull/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/pull.go b/services/pull/pull.go
index 61af7fe9a5..c578686bd8 100644
--- a/services/pull/pull.go
+++ b/services/pull/pull.go
@@ -609,7 +609,7 @@ func GetCommitMessages(pr *models.PullRequest) string {
}
element = element.Next()
}
-
+ skip += limit
}
}