Browse Source

Use limited commits (#9572)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
for-closed-social
John Olheiser 4 years ago
committed by Lunny Xiao
parent
commit
7bdf17ec29
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      services/mirror/mirror.go

+ 1
- 1
services/mirror/mirror.go View File

@ -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

Loading…
Cancel
Save