diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-12-31 21:54:56 -0600 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2020-01-01 11:54:56 +0800 |
commit | 7bdf17ec29851b857bf88d5e5f39436799732dd6 (patch) | |
tree | 8fb6f436a9b861990931bdd9c928dc4ce888e286 /services/mirror | |
parent | 8941f7fc01eb76ad66768a828bcc9bc8b8887731 (diff) | |
download | gitea-7bdf17ec29851b857bf88d5e5f39436799732dd6.tar.gz gitea-7bdf17ec29851b857bf88d5e5f39436799732dd6.zip |
Use limited commits (#9572)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'services/mirror')
-rw-r--r-- | services/mirror/mirror.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/mirror/mirror.go b/services/mirror/mirror.go index 7fc6e97b46..28b2e2a127 100644 --- a/services/mirror/mirror.go +++ b/services/mirror/mirror.go @@ -410,7 +410,7 @@ func syncMirror(repoID string) { theCommits.CompareURL = m.Repo.ComposeCompareURL(oldCommitID, newCommitID) - notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, models.ListToPushCommits(commits)) + notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, theCommits) } // Get latest commit date and update to current repository updated time |