Skip to content

Commit 7bdf17e

Browse files
jolheiserlunny
authored andcommitted
Use limited commits (#9572)
Signed-off-by: jolheiser <[email protected]>
1 parent 8941f7f commit 7bdf17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/mirror/mirror.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func syncMirror(repoID string) {
410410

411411
theCommits.CompareURL = m.Repo.ComposeCompareURL(oldCommitID, newCommitID)
412412

413-
notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, models.ListToPushCommits(commits))
413+
notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, theCommits)
414414
}
415415

416416
// Get latest commit date and update to current repository updated time

0 commit comments

Comments
 (0)