Use limited commits (#9572)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
这个提交包含在:
John Olheiser
2020-01-01 11:54:56 +08:00
提交者 Lunny Xiao
父节点 8941f7fc01
当前提交 7bdf17ec29
+1 -1
查看文件
@@ -410,7 +410,7 @@ func syncMirror(repoID string) {
theCommits.CompareURL = m.Repo.ComposeCompareURL(oldCommitID, newCommitID) 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 // Get latest commit date and update to current repository updated time