diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-11-27 14:00:52 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-27 22:00:52 +0200 |
commit | 979fbe086cd2e9aef83b44a92f23b970b8897eaf (patch) | |
tree | 339145ce28e10b4133902e669cc5bafef3a00d80 /services | |
parent | 7bc0c8cff66d42c9aa01d2ec107edac60d4a08f3 (diff) | |
download | gitea-979fbe086cd2e9aef83b44a92f23b970b8897eaf.tar.gz gitea-979fbe086cd2e9aef83b44a92f23b970b8897eaf.zip |
Increment skip to avoid infini-loop (#13703)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'services')
-rw-r--r-- | services/pull/pull.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/pull/pull.go b/services/pull/pull.go index 0bfcd8a63b..9cf4abfd54 100644 --- a/services/pull/pull.go +++ b/services/pull/pull.go @@ -610,7 +610,7 @@ func GetCommitMessages(pr *models.PullRequest) string { } element = element.Next() } - + skip += limit } } |