Skip to content

Commit

Permalink
Use limited commits (#9572)
Browse files Browse the repository at this point in the history
Signed-off-by: jolheiser <john.olheiser@gmail.com>
  • Loading branch information
jolheiser authored and lunny committed Jan 1, 2020
1 parent 8941f7f commit 7bdf17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/mirror/mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bdf17e

Please sign in to comment.